what is the difference between object and class
Answer Posted / sitaram
Object is a instance of a class.
Class is a template for an object.
Example: suppose we are going to hotel.first we will check
the menu. Menu is a class. we can select the one item from
menu. item is a method or variable. how to select the item.
we can create the object of menu. That is instance of
menu(Object).
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What does index mean in java?
What is exception handling in java?
What is application system?
Is arraylist ordered in java?
What are the 6 mandatory procedures for iso 9001?
Explain about java sdk?
what are Hostile Applets?
What do you mean by local variable and instance variable?
When will you define a method as static?
What is a method signature java?
If I only change the return type, does the method become overloaded?
Explain method overloading?
How do I know if java is installed?
Can we override data members in java?
What is arrays sort in java?