1/11
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Object-Oriented Programming (OPP) - The Three Design Concepts
1) Encapsulation
2) Inheritance
3) Polymorphism
Class
A programming construct that describes a group of objects, thereby defining the objects’ data type
Method
A Java construct that is a part of a class and performs an action.
Defined either a behavior of an object of the class or an action of the class itself
Behavior
An action that an object can take
Encapsulation
One of the design principles of object oriented programming.
Encloses data and methods within a class, thereby hiding the details of the class’s implementation
Hides “fine details”
Also called Information Hiding
Information Hiding
A technique that involves hiding a class’s implementation details from its client
Class Definition
The Java statements that define a class, including data fields and methods
Abstraction
A process that focuses on what a class or method should do instead of how it will accomplish it
Data Abstraction
A design principle that separates the operations that can be performed on a collection of data from the implementation of the operations
Interface
(Client Interface)
(Java Interface)
Implementation
A class definition or a method definition
Client
The code that uses a class