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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started