A block is enclosed inside __________.
Give this one a try later!
braces
The expression "Java " + 1 + 2 + 3 evaluates to ________.
,Give this one a try later!
Java 123
Which of the following is a possible output from invoking Math.random()?
Give this one a try later!
0.0
The __________ method parses a string s to an int value.
Give this one a try later!
Integer.parseInt(s);
To declare an int variable number with initial value 2, you write
Give this one a try later!
int number = 2;
____________ is a device to connect a computer to a local area network (LAN).
Give this one a try later!
, NIC
Which of the following is the correct expression of character 4?
Give this one a try later!
'4'
Which of the following statements is correct to display Welcome to Java on the
console?
Give this one a try later!
System.out.println("Welcome to Java");
Suppose i is an int type variable. Which of the following statements display the
character whose Unicode is stored in variable i?
Give this one a try later!
System.out.println((char)i);
________ consists of a set of separate programs for developing and testing Java
programs, each of which is invoked from a command line.
Give this one a try later!
Give this one a try later!
braces
The expression "Java " + 1 + 2 + 3 evaluates to ________.
,Give this one a try later!
Java 123
Which of the following is a possible output from invoking Math.random()?
Give this one a try later!
0.0
The __________ method parses a string s to an int value.
Give this one a try later!
Integer.parseInt(s);
To declare an int variable number with initial value 2, you write
Give this one a try later!
int number = 2;
____________ is a device to connect a computer to a local area network (LAN).
Give this one a try later!
, NIC
Which of the following is the correct expression of character 4?
Give this one a try later!
'4'
Which of the following statements is correct to display Welcome to Java on the
console?
Give this one a try later!
System.out.println("Welcome to Java");
Suppose i is an int type variable. Which of the following statements display the
character whose Unicode is stored in variable i?
Give this one a try later!
System.out.println((char)i);
________ consists of a set of separate programs for developing and testing Java
programs, each of which is invoked from a command line.
Give this one a try later!