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
Science,
5 months ago
Math,
5 months ago
Social Sciences,
5 months ago
Computer Science,
10 months ago
Computer Science,
10 months ago