what is difference between class and object?
Answer Posted / annie
Object is a real world entity.It can be similar to any single real thing of this world regardless of living and non-living thing,e.g.,a parrot or a room.
When objects that share similar features like behaviour,characteristics..etc. when grouped together can be termed as a class, e.g.,parrot can be an object of class bird, and room can be a object of class building.
Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How do you read and print a string in java?
Can you instantiate the math class?
Why we used vector class?
How big is a pointer?
What is mvc in java?
What is a nested list?
Write a program to check for a prime number in java?
What is variable and constant explain with example?
What is a boolean field?
How do you ensure that n threads can access n resources without deadlock?
Is the milky way in a void?
Does anyone still use java?
Explain the importance of import keyword in java?
What are the fileinputstream and fileoutputstream?
What are wrapper classes in java?