Object-Oriented Programming Principles in Java

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/29

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering the core concepts of Object-Oriented Programming in Java including Encapsulation, Abstraction, Inheritance, and Polymorphism based on Day 6 training notes.

Last updated 6:11 PM on 9/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

30 Terms

1
New cards

Object-Oriented Programming (OOP)

A programming paradigm that structures software into independent, interacting units (objects) and relies on principles such as abstraction, encapsulation, inheritance, and polymorphism to provide code reusability and flexibility.

2
New cards

Class

The basic structure or blueprint in object-oriented programming used to create objects, defining their attributes (variables) and behaviors (methods).

3
New cards

Object

A specific instance (instance of a class) created from a class that possesses its own state and can perform tasks through its behaviors and interactions with other objects.

4
New cards

Attributes

The variables defined within a class that represent the properties and store the state of an object.

5
New cards

Behavior

The set of methods defined within a class that operate on its variables and define the operations or actions an object can perform.

6
New cards

Internal State

The specific set of values held by an object's variables at any given point during program execution.

7
New cards

Class Members

The collective set of variables and methods contained within a class definition.

8
New cards

Encapsulation

The OOP principle of bundling data and possible operations together within an object while hiding direct access to internal state through controlled access modifiers.

9
New cards

Abstraction (Information Hiding)

A design principle that focuses on exposing what a class or object does through its public interface while concealing the complex implementation details of how it operates.

10
New cards

public Access Modifier

An access specifier that makes a class member accessible to any other class in any package.

11
New cards

private Access Modifier

An access specifier that restricts visibility of a class member strictly to within the defining class itself.

12
New cards

protected Access Modifier

An access specifier that allows members to be accessed by any class in the same package, as well as by subclasses located in different packages.

13
New cards

Default Access Modifier

The access level applied when no modifier keyword is specified, permitting access only to classes within the same package.

14
New cards

Access Modifier Permissions

A summary chart detailing accessibility levels across classes, packages, subclasses, and external packages for public, protected, default, and private members.

15
New cards

Accessor Methods (Getters)

Public methods used to retrieve or inspect the values of private instance variables from outside the class.

16
New cards

Mutator Methods (Setters)

Public methods used to control and modify the values stored in private instance variables while enforcing state integrity.

17
New cards

this Keyword

An internal reference keyword used within a class to refer to the current executing object instance.

18
New cards

Instance Members

Variables and methods that belong to a specific object instance of a class, requiring object creation prior to invocation.

19
New cards

Static Members

Variables and methods defined with the static keyword that belong to the class itself rather than individual instances, accessed directly via ClassName.member.

20
New cards

Java Class Library (API)

A pre-packaged collection of reusable object classes organized into packages (such as java.util) provided by the Java environment.

21
New cards

Inheritance

An OOP mechanism that allows a derived class (subclass) to inherit attributes and methods from an existing class (superclass), enabling code reuse and hierarchical organization.

22
New cards

Superclass

The parent class in an inheritance hierarchy from which attributes and methods are inherited by subclasses.

23
New cards

Subclass

A derived class that inherits members from a superclass using the extends keyword and can add or specialize its own features.

24
New cards

Object Class

The root superclass of all classes in Java, automatically serving as the base parent class if no explicit superclass is declared.

25
New cards

final Keyword (Class Level)

A modifier applied to a class declaration that prevents other classes from inheriting from or extending it.

26
New cards

Method Overriding

Redefining a method in a subclass with the exact same signature (name and parameters) as a method in its superclass to customize its behavior.

27
New cards

Method Overloading

Defining multiple methods within the same class (or across parent/child classes) that share the same name but differ in parameter types or count.

28
New cards

Polymorphism

The principle of 'one interface, multiple methods,' allowing a single method call or interface reference to exhibit different behaviors depending on the runtime object type.

29
New cards

Interface

A program component containing method headings without bodies, implemented by classes using the implements keyword to guarantee specific functionality.

30
New cards

Abstract Class

A class declared with the abstract keyword that cannot be directly instantiated and can contain abstract methods without bodies that subclasses must implement.