what is difference between class and object?
Answer Posted / kabita
class is a blueprint/framework which has no physical
existance and it is collection of similar properties and
behaviour of objects.
object is nothing which has physical existance, own
behaviour and properties.
it is also known as instance of class.
ex:Employee is a class and ram is aobject of this class.
Is This Answer Correct ? | 42 Yes | 12 No |
Post New Answer View All Answers
What is a function argument in java?
In a class implementing an interface, can we change the value of any variable defined in the interface?
how to run ecllipse with jettyserver for windows environment using batch file
Does constructor creates the object ?
What is high level language in computer?
What are bind parameters?
What is array list in java?
What is finalize()? Is finalize() similar to a destructor?
Why do we need wrapper classes?
What is the difference between method and means?
What is a stringbuffer?
what are the states associated in the thread? : Java thread
What is the method to expand and collapse nodes in a jtree?
What are the disadvantages of object oriented programming?
What are keywords in java?