what is the difference between object and class
Answer Posted / prashanth
Class is an user defined type and objects are its types.
If car is a class different types of cars are its objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is public/private protected in java?
what is the difference between the methods sleep() and wait()? : Java thread
Is char * a string?
What is a pattern what is an anti pattern?
Is arraylist sorted in java?
What are the differences between path and classpath variables?
Can singleton class be cloned?
Does treeset use compareto?
Which arithmetic operations can result in the throwing of an arithmeticexception?
What are passing parameters?
How do you decide when to use arraylist and linkedlist?
Explain about object oriented programming and its features?
What is the base class of all exception classes in java?
What is off heap memory?
How do you add an element to an arraylist in java?