Computer Science, asked by delnabenny2, 8 months ago

what do you mean by object in OOPs.​

Answers

Answered by MoonxDust
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 ProfessorBrainly
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

  1. class A{
  2. int a=5;
  3. }

To create an object of class =>

  1. A obj;

Similar questions