OCA Chapter 1 Review Questions Flashcards Preview

OCA Summary > OCA Chapter 1 Review Questions > Flashcards

Flashcards in OCA Chapter 1 Review Questions Deck (3)
Loading flashcards...
1
Q

Is the word “true” a Java reserved word?

A

Yes.

‘True’ is Java reserved word. For that reason it is NOT a valid Java identifier.

2
Q

What is the default value of an instance variable of type String?

A

null

3
Q

What is the default value of an instance variable of type boolean?

A

false