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 are the difference between composition and inheritance in java?
When does a class need a virtual destructor?
What is the latest java version?
What do u mean by variable?
What are the types of methods in java?
What is the benefit of using enum to declare a constant?
What is the difference between sop and work instruction?
How to sort an array in java without using sort method?
What is a singleton class in Java?
How many types of keywords are there?
Does constructor return any value?
Which number is denoted by leading zero in java?
What classes of exceptions may be caught by a catch clause in java programming?
What is dynamic binding(late binding)?
What is substring 1 in java?