adspace
Answer Posted / 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 View All Answers