One extra thing I can think of:ide
Instance variables are given default values, ie null if it's an object reference, 0 if it's an int.this
Local variables don't get default values, and therefore need to be explicitly initialized (and the compiler usually complains if you fail to do this).code
Local variable:ci
Instance variable:get
false
, null
, etc.)