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
(33)

format specifier ________ is a placeholder for an int value.

(Multiple Choice)
4.9/5
(36)

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

(Multiple Choice)
4.7/5
(37)

of the following is a relational or equality operator except:

(Multiple Choice)
4.8/5
(33)

Which of the following is not a Java primitive type?

(Multiple Choice)
4.9/5
(31)

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

(Multiple Choice)
4.7/5
(37)

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

(Multiple Choice)
4.8/5
(43)

Java's predefined classes are grouped into

(Multiple Choice)
4.8/5
(39)

Which of the following is a variable declaration statement?

(Multiple Choice)
5.0/5
(33)

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

(Multiple Choice)
4.9/5
(29)

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

(Multiple Choice)
4.8/5
(32)

Which of the following statements is false?

(Multiple Choice)
4.8/5
(42)

Which of the following is not a compilation error?

(Multiple Choice)
4.8/5
(32)
Showing 21 - 33 of 33
close modal

Filters

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