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 the scope or life time of instance variables?
Why is java not 100% pure oops?
What is operator overloading. Is it is supported in java?
What are java threads?
what invokes a threads run() method? : Java thread
What is anti pattern in cyber security?
What are the types of literals?
Can a class be defined inside an interface?
Difference between character constant and string constant in java ?
Can we sort hashmap in java?
Explain about version control?
What is the buffer limit?
What is the use of string and stringbuffer?
What is illegal identifier in java?
Mention the default values of all the elements of an array defined as an instance variable.