what is the difference between object and class

Answer Posted / prashanth

Class is an user defined type and objects are its types.
If car is a class different types of cars are its objects.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are methods?

549


What is the purpose of using the java bean?

566


What are the differences between graph and tree?

642


What differences exist between iterator and listiterator?

566


What are actual parameters?

519






List any five features of java?

563


What are reference variables in java?

591


What is the difference between jvm and jre? What is an interface?

546


What are the difference between string, string builder, and string buffer in java?

551


Can a class extend more than one class?

606


Can we execute java program without main method?

516


What do the thread?class methods run() and start() do?

535


Why can't we override private static methods?

513


Which programming language is best in future?

518


Which command from the jdk compiles a java program?

482