what is difference between class and object?
Answer Posted / maurya
class is a totally logical perseption while we r making a
class we think only WHAT and HOW. but an object is fully
physical perseption when we create an object we get th
physical entity of class. object has its existance but a
class dont.
through WHAT of a class we define state ie. what should be
in my object and through HOW we define behavior of object
ie. how and what function perform on my object to change
its behavior.
an object is actually type of class.....!!
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Explain java code for recursive solution's base case?
What is enhanced loop in java?
What is the use of object and class classes?
Explain wait() method of object class ?
What is the purpose of return statement?
Is array primitive data type in java?
What is java used for?
What is an object's lock and which object's have locks in java programming?
Wha is the output from system.out.println(“hello”+null); ?
Can we extend private class in java?
Explain about public and private access specifiers?
What restrictions are placed on method overloading in java programming?
How do you start a thread?
What are variable names?
Can you explain inner class.