what is difference between class and object?
Answer Posted / deen muhammad
I think a class is the superset of an object and object is
subset of a class.
A class contain so many objects but an object only belongs
to one class
example: A human being is a class while its body parts are
the objects of that class.
Is This Answer Correct ? | 11 Yes | 8 No |
Post New Answer View All Answers
Why bytecode is called bytecode?
What is difference between final and finally in java?
What is purpose of find feature?
What are the kinds of polymorphism?
What is overloading and overriding in java?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
Is it possible to use string in the switch case?
what is thread? What are the high-level thread states? Or what are the states associated in the thread? : Java thread
How do you calculate square roots?
String class is defined under which package in java?
What is == and === in javascript?
Is null a string or object in java?
What is exception in java?
How do you declare an array that will hold more than 64KB of data?
What is an example of declaration?