OOP terminology Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Class

A

A template for creating objects

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

Object

A

An instance of a class

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

Attribute

A

A specific item of data for a class/object

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

Method

A

A subroutine defined within a class

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

Public

A

A property of a method which allows it to be accessed from everywhere

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

Private

A

A property of a method which allows it to only be accessed within the class

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

Instantiation

A

The term for creating an object from a class

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

Encapsulation

A

Data held within a class can only be accessed through its methods

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

Abstraction

A

The ability to represent a real-world object as an abstracted representation in code

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

Constructor

A

A special method that creates an object from a class

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

Overloading

A

Ability for different methods to have the same names but different number of parameters which therefore exhibit different behaviours

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

Base class

A

A class from which other classes are derived

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

Inheritance

A

The ability to take a base class and add further functionality specific to the inherited class

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