Share Misconception: Students create a new instance variable when they only need a local variable. with FacebookShare Misconception: Students create a new instance variable when they only need a local variable. with Twitter For example, in Java, students create an instance variable public int count that is only used in one method, so they should instead create a local variable. More about this tip Tags Content Misconceptions CS 1 Intro Programming Java External Source "Exploring programming misconceptions: an analysis of student mistakes in visual program simulation exercises" by Teemu Sirkiä and Juha Sorva. Other Tips By Other Tips By Juha Sorva Juha Sorva