what is difference between class and object?

Answer Posted / unknown

class is defined as a collection of objects.
object is defined as instance of class and it isa real time
entity or a thing.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nan inf?

507


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

8622


What is a prefix function.write down a code to compute prefix function.

541


Can a class be protected in java?

505


Can we override protected method in java?

580






What do you mean by compiler?

582


What are the default and parameterized constructors?

555


What is the purpose of the finalize() method?

710


What is logical variable?

514


When can an object reference be cast to an interface reference in java programming?

582


What is the difference between class forname and new?

549


What is the difference between post and put?

536


What is a ternary operator in java? What is an interface?

553


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

1659


What does compareto () do in java?

571