Exam 2: Basic Elements of Java

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

The ____ rules of a programming language tell you which statements are legal, or accepted by the programming language.

(Multiple Choice)
4.8/5
(38)

Operators of the same precedence are evaluated from right to left.

(True/False)
4.9/5
(33)

The character sequence \n moves the insertion point at the end of the current line.

(True/False)
4.8/5
(36)

The Java language is strongly typed.

(True/False)
4.9/5
(41)

Suppose that x and y are int variables and x = 7 and y = 8. After the statement: x = x * y - 2; executes, the value of x is ____.

(Multiple Choice)
4.7/5
(31)

The standard output object in Java is ____.

(Multiple Choice)
4.8/5
(30)

The declaration int a, b, c; is equivalent to which of the following?

(Multiple Choice)
4.9/5
(37)

What type of Java statement(s) stores a value in a variable?

(Multiple Choice)
4.8/5
(38)

Operators that have two operands are called ____.

(Multiple Choice)
4.7/5
(34)

Which of the following is a valid int value?

(Multiple Choice)
4.9/5
(43)
Showing 41 - 50 of 50
close modal

Filters

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