Given the Java statement

int sum = number1 + number2;

which of the following statements is false?

a. It’s an assignment statement.
b. It calculates the sum of variables number1 and number2
c. The operands of the addition operator are number1 and number2
d. It assigns the value of number1 to sum.

D

Computer Science & Information Technology

You might also like to view...

A ________ is a group of two or more computers, or nodes, designed to share information and resources

A) bridge B) router C) network D) bus

Computer Science & Information Technology

Class functions declared as public ____ be called by any objects and functions not in the class.

A. can B. cannot C. must only D. should rarely

Computer Science & Information Technology