Explain the terms?
1. Encapsulation
2. Inheritance
3. Method Calling
50 points (:
Answers
Answered by
0
1. Encapsulation:
Encapsulation is binding the data with the code in a single wrapper named class. It keeps the data and the code safe from external access.
2. Inheritance:
Inheritance is the process by which an object acquires the properties (data and methods) of other objects. It helps in extending the features and usability of existing classes.
3. Method calling:
Method calling is the process of invoking or executing a method of a class by an object of that class.
Answered by
11
Encapsulation
- the action of enclosing something in or as if in a capsule.
- the succinct expression or depiction of the essential features of something.
Inheritance
- the act of getting by legal right from a person at his or her death or through heredity.
- something gotten by legal right from a person at his or her death. inheritance. noun.
Method Calling
- A method is a set of code which is referred to by name and can be called (invoked) at any point in a program simply by utilizing the method's name.
❤️
Similar questions