Set - 5

Question 66 :

What is the purpose of the System class?

Answer :

The purpose of the System class is to provide access to system resources.


Question 67 :

Which TextComponent method is used to set a TextComponent to the read-only state?

Answer :

setEditable()


Question 68 :

How are the elements of a CardLayout organized?

Answer :

The elements of a CardLayout are stacked, one on top of the other, like a deck of cards.


Question 69 :

Is &&= a

valid Java operator?

Answer :

No, it is not.


Question 70 :

Name the eight primitive Java types.

Answer :

The eight primitive types are byte, char, short, int, long, float, double, and boolean.