Multiple Choice Question

Quiz Guidelines

 

QID: 
318
Question: 

Given:

byte b = 1;  
char c = 1;  
short s = 1; 
 int i = 1;

which of the following expressions are valid?

Select 3 options 

A. s = b * b ; 
B. i = b << b ; 
C. s <<= b ; 
D. c = c + b ; 
E. s += i ; 

Q&A Set: