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 brightness of a projection device is measured in ____.

A. dots B. squares C. pixels D. lumens

Computer Science & Information Technology

A PowerPoint presentation that contains ActiveX controls must be saved in a file format that has a ________ file extension

A) .ppsx B) .pptm C) .pptx D) .potx

Computer Science & Information Technology

Macro security settings are found in the ________ Center

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following commands will send the output of the cat command to the grep command to be filtered?

A. cat /etc/passwd | grep jsmith B. cat /etc/passwd > grep jsmith C. cat /etc/passwd >> grep jsmith D. cat /etc/passwd @ grep jsmith

Computer Science & Information Technology