In oop, which concept allows one class object to be used within another class
Answers
Answered by
1
Answer:
In OOP ("Object Oriented Programming"), the concept which allows a class object to be used inside another class is instantiation. In "Object Oriented Programming", the term instantiation is used to refer to the process of creation of an object which is also called as an instance of its class.
✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌✌
Answered by
0
Explanation:
Answer:
Inheritance
- Inheritance is a simple concept where a new(child) class is based on another(parent) class, in retains properties of old class.
- for example, a cat class object can be inherited from animal object.
- here, cat uses features of animal class/object within it.
Similar questions
India Languages,
6 months ago
English,
6 months ago
Computer Science,
11 months ago
Computer Science,
11 months ago