Which of the following are not valid Java identifiers? Why?
a. Factorial
b. anExtremelyLongIdentifierIfYouAskMe
c. 2ndLevel
d. level2
e. MAX_SIZE
f. highest$
g. hook&ladder
a. Valid
b. Valid
c. Invalid because it begins with a digit
d. Valid
e. Valid
f. Valid
g. Invalid because it contains an ampersand (&)
Computer Science & Information Technology
You might also like to view...
IF and AND are examples of ________ functions
A) statistical B) financial C) database D) logical
Computer Science & Information Technology
File formats commonly used for displaying images on the Web include JPG, GIF, and ____.
A. BMP B. PNG C. TIFF D. DIB
Computer Science & Information Technology
A ________ changes your home page and redirects you to other websites.
A) zombie B) browser hijacker C) rootkit D) botnet
Computer Science & Information Technology
The following is a _____ loop:for (i = 0; i < 1000; i++) sum = sum + i;
A. linear B. logarithmic C. quadratic D. dependent quadratic
Computer Science & Information Technology