Question: Which of the following statements is FALSE? a. Java is used for enterprise software and web sites b. Java is similar to C# c. Java
Which of the following statements is FALSE?
| a. | Java is used for enterprise software and web sites | |
| b. | Java is similar to C# | |
| c. | Java only runs under Windows | |
| d. | Java supports object-oriented programming |
2 points
QUESTION 2
Choose the BEST answer
| a. | Java comments begin with '#' | |
| b. | Java comments begin with '//' | |
| c. | Java comments begin with '/*' and end with '*/' | |
| d. | Both b and c |
2 points
QUESTION 3
Which of the following is NOT a Java primitive type?
| a. | String | |
| b. | double | |
| c. | int | |
| d. | long |
2 points
QUESTION 4
The following are syntactically valid Java statements:
int myvar;
myvar = ((25 * 7) / 5)
True
False
2 points
QUESTION 5
The following Java expression evaluates to what (integer) number?
-(20 / 4 - 8 * 3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
