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...
What is wrong with the following code fragment? Will this code compile if it is part of an otherwise valid program? Explain.
``` if (length = MIN_LENGTH) System.out.println("The length is minimal."); ```
Computer Science & Information Technology
Which command displays a file's contents one screen at a time?
A. head B. show C. echo D. more
Computer Science & Information Technology
The ________ sign should be put around dates so that Access knows they are dates
Fill in the blank(s) with correct word
Computer Science & Information Technology
Members of a client-server network belong to the same __________.
A. domain B. workgroup C. family
Computer Science & Information Technology