what is difference between class and object?
Answer Posted / kabita
class is a blueprint/framework which has no physical
existance and it is collection of similar properties and
behaviour of objects.
object is nothing which has physical existance, own
behaviour and properties.
it is also known as instance of class.
ex:Employee is a class and ram is aobject of this class.
| Is This Answer Correct ? | 42 Yes | 12 No |
Post New Answer View All Answers
Why array is used in java?
What is a map in java?
What is difference overloading and overriding?
Does java support Operator Overloading?
What does 0 mean in boolean?
Why do we need wrapper classes?
What is better - 'bit-shift a value' or 'multiply by 2'?
Is a boolean 1 bit?
What is google full form?
What is the final keyword in java?
What is a arraylist in java?
Explain the different forms of polymorphism?
Can we declare an interface as final?
What do you mean by an object in java?
What is a nested structure?