Module 12 Flashcards
(12 cards)
Fundamental concept in object-oriented programming (OOP) that refers to the practice of breaking down a large program into smaller, more manageable pieces, or modules.
Modularity
A collection of related classes and interfaces that are grouped together.
Packages
A collection of abstract methods that define a contract for a class to implement
Interfaces
Building BLocks of OOP. They encapsulate data and behavior into a single unit, providing a blueprint for creating objects.
Classes
These packages are provided by the Java language itself and contain classes and interfaces that are fundamental to the Java platform.
Built-in Packages
These packages are created by developers to organize their classes and interfaces into logical groups.
User-defined Packages
This imports a single class or interface
Single Type Import
This imports all the accessible classes and interfaces present in a package.
Type on Demand Import
This is used to import static members of a class.
Static Import
This imports all the static members of a class or interface
Static Type on Demand Import
This imports a single static member of a class or interface
Single Static Import
One of the four fundamental principles of object-oriented programming (OOP) in Java. It refers to the concept of hiding the internal details of an object from the outside world and allowing access to it only through a set of public methods.
Encapsulation