Module 12 Flashcards

(12 cards)

1
Q

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.

A

Modularity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A collection of related classes and interfaces that are grouped together.

A

Packages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A collection of abstract methods that define a contract for a class to implement

A

Interfaces

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Building BLocks of OOP. They encapsulate data and behavior into a single unit, providing a blueprint for creating objects.

A

Classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

These packages are provided by the Java language itself and contain classes and interfaces that are fundamental to the Java platform.

A

Built-in Packages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

These packages are created by developers to organize their classes and interfaces into logical groups.

A

User-defined Packages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

This imports a single class or interface

A

Single Type Import

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

This imports all the accessible classes and interfaces present in a package.

A

Type on Demand Import

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

This is used to import static members of a class.

A

Static Import

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

This imports all the static members of a class or interface

A

Static Type on Demand Import

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

This imports a single static member of a class or interface

A

Single Static Import

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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.

A

Encapsulation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly