What is object in oop with example?



What is object in oop with example?..

Answer / Awinav Kumar

An object in OOP is an instance of a class that has its own properties and methods. A real-life example of an object is a car: a car is an object with properties such as color, model, year, and methods like accelerate, brake, etc. In code, it would look something like this: Car myCar = new Car();

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

What is the difference between the C & C++?

9 Answers   HCL,


What is a scope resolution operator?

5 Answers   HP, IBS,


write a progra in c++ using class & object to find out wheather a given no. is prim or not.

2 Answers  


what is main difference between object oriented object base

2 Answers   Wipro,


Which is not an object oriented programming language?

1 Answers  


143.what is oops principles?

10 Answers  


What is the point of oop?

1 Answers  


what is difference between thread and programme.

1 Answers   NCC,


What are main features of oop?

1 Answers  


What is polymorphism programming?

1 Answers  


function overridind means and simple program

2 Answers  


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

1 Answers  


Categories