what is the diffrence between class and object?

Answers were Sorted based on User's Feedback



what is the diffrence between class and object?..

Answer / sri

class is a collection of data members nd member funs()
object is an instance of a class

Is This Answer Correct ?    21 Yes 0 No

what is the diffrence between class and object?..

Answer / saravana kumar.s

class is a template for attribute and operation of an objects.
object is a instance of class .
object is use to calling class

Is This Answer Correct ?    5 Yes 1 No

what is the diffrence between class and object?..

Answer / karthick

Class -collection of object is known as class.
object-object is a instance to call a class.

Is This Answer Correct ?    4 Yes 0 No

what is the diffrence between class and object?..

Answer / sri

the exitance of class is logical.but obj exitance is phisical

Is This Answer Correct ?    0 Yes 1 No

what is the diffrence between class and object?..

Answer / arun kumar

class does not take space
eg:- empty folder have 0 byte space

object always take an space
eg:-files in folder

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More Core Java Interview Questions

what is object slice?

0 Answers  


how to run ecllipse with jettyserver for windows environment using batch file

0 Answers  


How many bits is a boolean?

0 Answers  


what is meant by Byte code concept in Java?

0 Answers   Aspire,


Which are the two subclasses under exception class?

0 Answers  






To what value is a variable of the Boolean type automatically initialized?

3 Answers  


How can we run a java program without making any object?

0 Answers  


what is run time polymorphism

4 Answers  


explain autoboxing in java?

0 Answers  


Is java pure object oriented or not? if yes, give the valid reason.

13 Answers   Emphasis, NIIT, Syntel, Wipro,


What are the advantages of exception handling in java?

0 Answers  


how to handle exceptions in ejb?

1 Answers   HCL,


Categories