what is difference between class and object?
Answer Posted / lolo
OBJECT
A software bundle of related state and behavior. Stores the
state in fields and express its behavior through methods.
The methods operate on an object's internal state. Object
is a Physical reality.
CLASS
We can define a class as a blueprint from which the
individual objects are created. Uses a new operator to
create the instance of the class. Class is a logical
construct.
| Is This Answer Correct ? | 84 Yes | 22 No |
Post New Answer View All Answers
What is the best definition for data?
Explain what is Marker interface?
What is the difference between JDBC 1.0 and JDBC 2.0?
Where to store local variables?
Explain notify() method of object class ?
Add a value x to array from index l to r where 0 <= l <= r <= n-1
Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx
What is the effect of keeping a constructor private?
What is immutable data?
Is alive method in java?
What is data object example?
What is a treeset in java?
Can a main method be overloaded?
Which list does not allow duplicates in java?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?