what do you mean by object in OOPs.
Answers
Answered by
4
An object, in object-oriented programming (OOP), is an abstract data type created by a developer. It can include multiple properties and methods and may even contain other objects. ... The object might defined as class userAccount and contain attributes such as: first name. last name.
Answered by
1
Answer:
Object is the basic run time entities in an object oriented programming.
Explanation:
The object can be created by first writing the class name and then writing object in a main function in C++ Programming language. As we know that when you create a class the memory is not allocated in your system but when you create a object of any class then memory is allocated.
To create a class
- class A{
- int a=5;
- }
To create an object of class =>
- A obj;
Similar questions