If you use the javac command to compile a program that contains raw type, what would the compiler do?

a. report syntax error
b. report warning and generate a class file
c. report warning without generating a class file
d. no error and generate a class file
e. report warning and generate a class file if no other errors in the program.


e For javac, a class file is generated even if the program has compile warnings.

Computer Science & Information Technology

You might also like to view...

Methods are called by writing the name of the method followed by enclosed in parentheses.

a) a condition b) arguments c) a counter d) None of the above.

Computer Science & Information Technology

Match the following people with their contribution to the field of Computer Science, where a name can be used more than once.

A. B. integer C. double D. character E. string F. boolean G. none of the above. ________ 1.427E3 ________ "Oct" ________ -63.29 ________ #Hashtag ________ '+' ________ -85 ________ true ________ '\"

Computer Science & Information Technology

Describe the two types of user account in Windows 7, mentioning how they differ with respect to the UAC.

What will be an ideal response?

Computer Science & Information Technology

A technician is logged in to a Linux system with a user account that has been assigned root privileges. Each time the technician attempts to run a specific terminal command, a “Permission denied” message is displayed.    What is the most likely reason for this message?

A. The software repository is out of date and needs to be updated. B. The command syntax needs to be verified. C. The user account is not assigned a password. D. The command needs to be preceded by sudo.

Computer Science & Information Technology