To declare an int variable number with initial value 2, you write

a. int number = 2L;
b. int number = 2l;
c. int number = 2;
d. int number = 2.0;

c. int number = 2;

Computer Science & Information Technology

You might also like to view...

The taskbar at the bottom of the Windows Vista screen must display at all times

Indicate whether the statement is true or false

Computer Science & Information Technology

A list of thumbnails of open but not active programs is called a switch list

Indicate whether the statement is true or false

Computer Science & Information Technology