Exam 2: Introduction to Java Applications; Inputoutput and Operators

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which is the output of the following statements? System.out.print("Hello "); System.out.println("World");

(Multiple Choice)
4.8/5
(88)

format specifier ________ is a placeholder for an int value.

(Multiple Choice)
4.9/5
(84)

Which of the following is a Scanner method for inputting an integer value?

(Multiple Choice)
4.7/5
(72)

of the following is a relational or equality operator except:

(Multiple Choice)
4.9/5
(86)

Which of the following is not a Java primitive type?

(Multiple Choice)
4.9/5
(77)

Which of the following statements would display the phase Java is fun?

(Multiple Choice)
4.7/5
(91)

End-of-line comments that should be ignored by the compiler are denoted using

(Multiple Choice)
4.9/5
(85)

Java's predefined classes are grouped into

(Multiple Choice)
4.8/5
(85)

Which of the following is a variable declaration statement?

(Multiple Choice)
5.0/5
(81)

Which command compiles the Java source code file Welcome.java?

(Multiple Choice)
4.9/5
(72)

Given the Java statement int sum = number1 + number2; Which of the following statements is false?

(Multiple Choice)
4.8/5
(82)

Which of the following statements is false?

(Multiple Choice)
4.7/5
(89)

Which of the following is not a compilation error?

(Multiple Choice)
4.9/5
(76)
Showing 21 - 33 of 33
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)