difference between class and object
Answer Posted / manoj kumar
class is a blueprint or template for creating objects.class
is imaginary.it does not exits in real world .
while , object is an entity with some characteristic and
behavior.it is a real world entity .
In oops ,object is an entity that can store data value and
has its interface through its function.
we can create an object like that:
classname objectname=new classname();
example :
Rectangle s=new Rectangle();
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are the features of oop?
what is different between oops and c++
What is the fundamental idea of oop?
What is polymorphism and types?
What are benefits of oop?
Can we override main method?
What is encapsulation in simple terms?
What is interface? When and where is it used?
Whats is abstraction in oops?
What is oops concept with example?
how to get the oracle certification? send me the answer
What are functions in oop?
Can a varargs method be overloaded?
What is oops and its features?
What is the importance of oop?