OOP Concepts Flashcards

1
Q

The ability of an object to take on many forms, achieved through method overloading and overriding.

A

Polymorphism

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

occurs within the same class with different signatures

A

Overloading

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

subclasses with the same signature

A

Overriding

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

cannot be instantiated and may contain abstract methods, while interfaces define contracts for classes to implement.

A

Abstract classes and Interfaces

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

A mechanism where a class inherits properties and behaviors from another class.

A

Inheritance

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

copies only the top-level object

A

Shallow copy

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

copies all nested objects

A

deep copy

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

Memory is managed in Jave via

A

Garbage collection

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