Midterm OOP - Lesson 4 Flashcards

Methods of Object Oriented Programming

1
Q

Methods that are defined by the
Programming Language itself. It has a default arguments (names and functions).

A

Built – in Methods

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

Methods defined by the user. The
user can modify its arguments (names, functions and
parameters).

A

User – Defined Methods

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

An object that is one of the utility instrument in an object – oriented programming approach

A

Methods

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

Types of Polymorphism

A

Static Polymorphism and Dynamic Polymorphism

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

Also know as Compile Time Polymorphism

A

Static Polymorphism

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

Polymorphism that being resolved during compiler run
time or when the JVM started to work / function.

A

Static Polymorphism

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

Allows the user to have more than one method having the same name but differ in parameters inside a one class.

A

Method Overloading

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

WAYS TO OVERLOAD A METHOD

A

DATA TYPES OF PARAMETERS
NUMBER OF PARAMETERS
SEQUENCE OF DATA TYPES OF PARAMETERS

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

Also know as RunTime Polymorphism

A

Dynamic Polymorphism

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

Polymorphism that calls to the overridden methods that being resolved during run time. It always shows Inheritance principles.

A

Dynamic Polymorphism

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

Allows the parent class and child class to have more than one method having the same name and parameters.

A

Method Overriding

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