Definitions Flashcards

1
Q

Polymorphism

A

Allows us to have the same method take on different meanings depending on the instantiated class

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

Encapsulation

A

Combining together of class attributes and method behaviors into a single data type

With the public interface and private implantation

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

Information Hiding

A

Hiding fields and complexity of code from class code

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

Class

A

A user defined data type that encapsulates data and methods

Acts as a template for construction of objects

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

Object

A

Instance of a class

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

Application / Interface

A

The app that accesses the interface that accesses the class

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

Instantiation

A

The instance that memory is allocated for specific object of a class

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

Inheritance

A
The ability to add onto a class
To create a more specific class model extending it
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Parameters

A

Used to pass variables between methods

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

Arrays

A

A variable that stores many elements of a Particular type or object

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

Parallel Arrays

A

A set of arrays which are used with in conjunction with each other where by different related content is stored in corresponding elements

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

Overload

A

If you have more than one method with the same name but bearing different methods the method is called overloading

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

Override

A

When a child class inherits from a parent class that have similar methods to each other the methods are overridden

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

Virtual

A

When a method is placed in the parent class and the override directive is used in the child class

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

Constructor

A

The method that instantiates the objects of the class

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

Mutator methods

A

Set parameterise methods which change the value of a field of the object

17
Q

Accessor methods

A

Functions that returns the value of the field of the object

18
Q

ToString

A

Function which is used to combine fields of an object into a string

19
Q

Helper method

A

Methods which are used or called with in another method

20
Q

Data types

A

Classification of a variable allocated to a variable

21
Q

Function

A

Returns one value

22
Q

Procedure

A

Performs an action therefore changing values of variables