what is difference between class and object?
Answer Posted / devarathnam c,kotagudibanda(po
Hi... Class is a blue print of an object,which is non-live
entity.
Object is instance of class,which is a live entity.
example: Employee is a class
Fruit is a class
but
DEVARATHNAM is an object
ROSE is an object
| Is This Answer Correct ? | 99 Yes | 39 No |
Post New Answer View All Answers
Explain the different forms of polymorphism?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
What is this keyword in java?
What is singleton class in ruby?
Is java same as core java?
Does java runtime require a license?
What are inbuilt functions in java?
Explain features of interfaces in java?
What is variable and example?
What is thread count in java?
What is externalizable?
Can a static block throw exception?
What is use of a abstract variable?
Why should we use singleton pattern instead of static class?
What is the final keyword in java?