Answer Posted / walking legend
I would like to explain the concept of class and object
with an example for easy understanding
consider a person 'x' has designed a car drawing the
model on a paper on computer using a software
class:this blue print is called class.
object:if a car is manufactured based on the blue print
it is one of the object created for that
particular class.
| Is This Answer Correct ? | 15 Yes | 7 No |
Post New Answer View All Answers
Explain the advantages of inheritance.
How to call a non virtual function in the derived class by using base class pointer
Why multiple inheritance is not possible?
What is the difference between encapsulation and polymorphism?
Why do we use class in oops?
Why do while loop is used?
What is the real life example of polymorphism?
What is object and class in oops?
What do you mean by Encapsulation?
Why do we use oop?
Why is polymorphism needed?
How long to learn object oriented programming?
What is abstraction with example?
What is the real time example of inheritance?
Get me a number puzzle game-program