what is difference between class and object?

Answer Posted / tamanna yesmin(jagannath unive

Objects contain data and code to manipulate that data where
the entire set of data and code of an object can be made a
user defined data type using the concept of a Class.


A class
may be thought of as a"data type" and an object as
a"variable"of that data type

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a percentage sign called?

621


What is * argv?

708


What do you mean by static variable?

578


What is the difference between iterator and enumeration ?

514


What is the purpose of the main method?

545






What is core java called?

526


What is the largest long allowed by java?

539


What is difference between next () and nextline () in java?

541


What is the common usage of serialization? What exceptions occur during serialization?

605


Why put method is used?

534


What is java util hashmap?

522


How do you create a sop?

530


What are recursive functions? Give some examples?

619


what is a green thread? : Java thread

576


What are 4 pillers of object orinted programming?

582