Keywords Flashcards

1
Q

Parameterised constructor

A

constructor with parameters

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

Default constructor

A

constructor without parameters that assign predetermined values to the fields of a class

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

OOP

A

Object Oriented Programming

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

Constructor

A

is called when an object is created/instantiated by a class

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

Protected(access modifier)

A

Can be accessed from classes that inherit from the class

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

Public(Access modifier)

A

Accessible from outside class(eg. Methods)

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

Private(Access modifier)

A

Not accessible from outside class(eg. Field)

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

Private(Access modifier)

A

Not accessible from outside class(eg. Field)

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

Non-static fields

A

belong to each object

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

Object

A

is instantiated from a class/created by class

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

Class provider

A

can make changes in the new version

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

Information hiding

A

when the inner workings of a class are hidden

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

Encapsulation

A

protecting data from unwanted access by packaging it in an object where it is only accessible through the object’s interface

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

Class

A

defines the template for an object or is the blueprint for an object

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

Data hiding

A

Making data accessible only to class members and projects object integrity by preventing unintended and intended changes

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

Method

A

a block of statements inside a class

15
Q

Void method

A

used to change values of a private field

16
Q

Typed method

A

has a return type

17
Q

Return type

A

data returned from a method

18
Q

Front end applications

A

should have input and output statements

19
Q

Back end classes

A

Should not have input and output statements and processing should be done back end