oop Flashcards

1
Q

C, Pascal, FORTRAN, and similar languages are

A

procedural languages.

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

what are the procedural languages.

A

That is, each statement in the language tells the computer to do something: Get some input, add these numbers, divide by six, display that output

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

what is the modual

A

a grouping of components that execute lists of instructions.

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

Behavioris

A

something a real-world object does in response to some stimulus

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

hidden

A

, so it is safe from accidental alteration.

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

constructor vs methods

A

Constructor is used to initialize an object whereas method is used to exhibits functionality of an object. Constructors are invoked implicitly whereas methods are invoked explicitly. Constructor does not return any value where the method may/may not return a value

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

what is the modifier

A

A modifier is a Java reserved word that is used to specify characteristics of a programming language construct.

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