View Single Post
  #2 (permalink)  
Old 07-04-2007, 04:59 AM
Ed Ed is offline
Senior Member
 
Join Date: Jun 2007
Posts: 110
Ed is on a distinguished road
Instance is an instance of a class. So, an instance is an object made from a class. Instance variable is a variable that belongs to an instance, Local variable is a variable declared and defined in a method. If your object has an instance variable " int a" and the object has a method in which it has a local variable named int foo, in the method, the name foo should refer the local variable.
Reply With Quote