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 does no cap mean?
What is the real life example of polymorphism?
What is a superclass in oop?
What is the example of polymorphism?
What is polymorphism and its types?
What does and I oop mean in text?
How does polymorphism work?
How do you define social class?
what's the basic's in dot net
What is use of overloading?
Can we define a class within the interface?
which feature are not hold visual basic of oop?
How is polymorphism achieved?
just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.
What is difference between pop and oop?