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 the final class?
How to avoid memory leak in java?
What is the requirement of thread in java?
What are wrapped classes in java programming?
What is return keyword in java?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
What is lastindexof in java?
Can we declare main () method as non static?
What is data structure in java?
What is the final method?
Can we write any code after throw statement?
Which object oriented concept is achieved by using overloading and overriding?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
What does s mean in regex?
Explain an algorithm to find depth of a binary tree.