Computer Applications

Answer the following:

(a) Scanner class method to accept a character.

(b) Jump statement which stops the execution of a construct.

Input in Java

2 Likes

Answer

(a) The Scanner class method to accept a character is <Scanner object>.next().charAt(0).

(b) The jump statement which stops the execution of a construct is break.

Answered By

1 Like


Related Questions