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
Can you inherit a private class?
what are the ways in which a constructors can be called?
What is polymorphism and example?
What is polymorphism explain?
How do you achieve runtime polymorphism?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is destructor oops?
What is and I oop mean?
What is constructor overloading in oop?
Why multiple inheritance is not possible?
Why do we use oops?
write a program to find 2^n+1 ?
What are the two different types of polymorphism?
What is protected in oop?
What is encapsulation in oop?