Object Oriented Programming

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/25

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

26 Terms

1
New cards

Object

a instance of a class that contains state and behavior.

2
New cards

Object Oriented Programming

a methodology or paradigm using objects and classes

3
New cards

Class

a blueprint for creating objects, defining their properties and behaviors.

4
New cards

Constructor

a special method used to initialize objects when they are created.

5
New cards

Default Constructor

a constructor that does not take any parameters and initializes an object with default values.

6
New cards

Parameterized Constructor

a constructor that does take parameters and initializes an object with specific values.

7
New cards

Constructor Overloading

the ability of a class to have multiple constructors with different parameter lists

8
New cards

Inheritance

process in which the object class acquires all the properties and behaviors of the parent class

9
New cards

Sub-class

a class that inherits the super-class

10
New cards

Super-class

a class that gets inherited by the sub-class

11
New cards

Reusability

a technique where it will facilitate you to reuse the fields and methods of one class to create a new class

12
New cards

Polymorphism

ability of an object to take on different forms to respond to the same method call or operators

13
New cards

Method Overloading

a class that has multiple methods having the same name but with different parameters

14
New cards

Method Overriding

a sub-class has the same method name as declared in the parent class

15
New cards

Encapsulation

process of wrapping code and data together in a single unit

16
New cards

get()

a read-only method used to retrieve different attributes

17
New cards

set()

a write-only method used to modify attributes

18
New cards

private

a keyword only accessible within the same class

19
New cards

default

a keyword only accessible within the same package

20
New cards

protected

a keyword accessible within the same classes and subclasses of other packages

21
New cards

public

a keyword accessible from anywhere in your program

22
New cards

Abstraction

process of hiding implementation details and showing functionality to the user

23
New cards

Generalization

process of extracting shared characteristics of two or more classes, combining them into a generalized classes

24
New cards

Specialization

creating a new sub-class from an existing class

25
New cards

Abstract Class

a class that is declared abstract in which objects cannot be instantiated from them

26
New cards

Abstract Method

a method declared without any implementations