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

Computer Science & Information Technology

You might also like to view...

Show Formulas is a toggle button

Indicate whether the statement is true or false.

Computer Science & Information Technology

Which of the following password types consists of single words that often include a mixture of upper- and lower-case letters?

A. standard word B. combination C. cognitive D. graphical

Computer Science & Information Technology