Question :What is meant by Instance Variables and Class Variables (CoreJava)
Answer :instance variables Any item of data that is associated with a particular
object. Each instance of a class has its own copy of the instance variables
defined in the class. Also called a field. class variables A data item
associated with a particular class as a whole--not with particular instances
of the class. Class variables are defined in class definitions. Also called a
static field
www.interviewhelper.org is a hope for all the Job seekers. Users can find unlimited here. These range from technical to HR, from functional to behavioral. www.interviewhelper.org contains in the fields like Ajax,VB,Networking,Sharepoint,JEE,Perl,Javascript,Bioinformatics,Classic ASP,Unix,Linux,Accounting,Oracle DBA,Microprocessor,Bluetooth,jms,jme,.net framework,ABAP,ASP,ASP.net,Basic .net Framework,Interview Questions,C language,C++,database,Oracle,Java,PHP,LAMP,SAP etc.
Thursday, March 12, 2009
What is meant by Instance Variables and Class Variables (CoreJava)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment