Module 2.1: Object Relationship | Inheritance

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

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

12 Terms

1
New cards

Encapsulation
Inheritance
Polymorphism
Abstraction

The four pillar of OOP

2
New cards

Encapsulation

Bundling data and behavior together and controlling access to them. Data protection and controlled access.

3
New cards

Inheritance

An Object-Oriented Programming mechanism where one class acquires the attributes and methods of another class.

4
New cards

Polymorphism

One interface, many implementations or behaviors.

5
New cards

Abstraction

Hiding complexity behind a simple, focused interface.

6
New cards

Superclass
Parent Class

The existing class whose attributes and methods are inherited by another class.

7
New cards

Subclass
Child Class

8
New cards

extends Keyword

A Java keyword used to declare that one class inherits from another class.

9
New cards

super Keyword

A Java keyword that refers to the superclass portion of the current object.

10
New cards

private Access Modifier

An access modifier restricting access to a member within its declaring class.

11
New cards

protected Access Modifier

An access modifier that permits access within the same package and from subclasses under Java's protected-access rules.

12
New cards

public Access Modifier

An access modifier that permits a member to be accessed from other classes wherever its enclosing class is accessible.