When a child class inherits from a parent class, it can also be referred to as a ________ relationship.
- Inheritance
- Association
- Aggregation
- Composition
In object-oriented programming, when a child class inherits from a parent class, it forms an inheritance relationship, inheriting properties and methods.
Loading...
Related Quiz
- Is it possible to destroy a cookie?
- PHP uses the global keyword to make a local variable have global scope.
- CSRF attacks primarily target which aspect of a web application?
- How can we access the data sent through the URL with the GET method?
- In PHP, which of the following keywords is used to access properties and methods of a parent class from a child class?