Introduction Flashcards

1
Q

OOP meaning

A

method of programming based on a hierarchy of classes with well defined and cooperating objects. A language model organized around objects

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

Object

A

executable copy of a class

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

Characteristics of objects

A

state and behavior

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

Class

A

blueprint from which individual objects are created

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

Package

A

namespace that organizes a set of related classes and interfaces

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

Interface

A

group of related methods with empty bodies

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

Encapsulation

A

concept that enables hiding of unnecessary details in classes and only providing a clear and simple interface for working with them

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

Inheritance

A

enable new objects to take on the properties of existing objects

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

Superclass

A

basis for inheritance

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

Subclass

A

class that inherits from a superclass

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

Abstraction

A

process of extracting common features from specific examples

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

Types of Abstraction

A

data, functional and object

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

Polymorphism

A

ability to present the same interface for differing underlying forms

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

Types of Polymorphism

A

method overloading and overriding

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

Garbage Collection

A

form of automatic memory management whereby the garbage collector attempts to reclaim garbage or memory occupied by objects that are no longer in use by the program

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

Characteristics of OOP

A
enscapulation
Inheritance
abstraction
polymorphism
message passing
garbage collection
17
Q

Variable

A

container that holds values used in a java program

18
Q

Types of Variables

A

Instance
Class
Local variables
Parameters