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
Which container method is used to cause a container to be laid out and redisplayed in java programming?
What is javac in java?
What is a short in java?
What are new features introduced with java 8 ?
Why do we override tostring method in java?
What do you mean by local variable and instance variable?
What happens if constructor is private?
Why are the destructors for base class and derived class called in reverse order when the program exits
Can an integer be a string?
What is string in java?
What is the use of hashmap in java?
What is the use of keywords in java?
What is the purpose of void class?
What is substring 1 in java?
What is t in generics in java?