Professional Documents
Culture Documents
Test: Java Fundamentals Final Exam: Previous Next
Test: Java Fundamentals Final Exam: Previous Next
Test: Java Fundamentals Final Exam: Previous Next
jsp
Correct
12.What is the output of the following lines of code? Mark for Review
(1) Points
int j=7,k=5,m=8,result;
result=j/m*k;
System.out.println(result);
0 (*)
280
4.375
0.175
Correct
13.What will the method methodA print to the screen? Mark for Review
(1) Points
6
15
3
18 (*)
Correct
15.When importing another package into a class you must import only the package classes that will be called and Mark for Review
not the entire package. True or false? (1) Points
True
False (*)
Correct