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
Why do we use oop?
Why is object oriented programming so hard?
class type to basic type conversion
What is polymorphism and example?
What is overriding vs overloading?
Why is abstraction needed?
What is an advantage of polymorphism?
What is encapsulation c#?
Which language is pure oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
what is difference between class template and template class?
Can we have inheritance without polymorphism?
What is the example of polymorphism?
What is property in oops?
What is a class and object?