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


Please Help Members By Posting Answers For Below Questions

Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls

1446


How many ways can an argument be passed to a subroutine and explain them?

575


Explain java coding standards for classes or java coding conventions for classes?

615


What does sprintf mean?

535


Can you instantiate the math class in Java?

611






Is there a case when finally will not execute?

565


How java enabled high performance?

584


From the two, which would be easier to write: synchronization code for ten threads or two threads?

615


Where are variables stored?

552


Can we extend private class in java?

549


What is a pattern what is an anti pattern?

509


What are meta-annotations?

553


What is tochararray in java?

502


What is floor in java?

560


how can i use a nonsynchronized hashtable?

2106