Question :
Multiple Choice
The amount of memory used to represent numbers : 2043808
Multiple Choice

The amount of memory used to represent numbers declared as int is
 one byte or eight bits
 two bytes or 15 bits
 four bytes or 32 bits
 eight bytes or 64 bits.

The type of equality which means the two objects are pointing to the same instance is
 deep property equality
 identity equality
 primitive equality
 property equality

The type of equality which is satisfied when two objects have the same values for their instance variables
 deep property equality
 identity equality
 primitive equality
 property equality

What type of equality the = = operator tests for when its operands are objects?
 deep property equality
 identity equality
 primitive equality
 property equality

Which of the following operators is used when you want the result to be the remainder from integer division?
 /
 %
 &
 <

Which of the following operators is a relational operator?
 =
 ++
 <=
 +=

Which of the following operators is performed first if they all appeared in an expression?
 *
 >
 +
 =

Which of the following relational operators work with both numbers and objects?
 >=
 <
 !=
 >

Given the original values of variable x is 6 and y is 9, which of the following expressions will result in x being 9 and y being 8.
 x = y ;
 x =  y;
 x = y ++;
 x = ++ y;

Which of the following is a Boolean operator?
 true
 &&
 %
 !=
Solution
5 (1 Ratings )
Related Answers