Oracle Java SE 8 Programmer I - 1z0-808 FREE EXAM DUMPS QUESTIONS & ANSWERS

Given:

Which statement is true?
Correct Answer: A Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Given the class definitrions:
class Shape { }
class Square extends Shape { }
Given the variable declarations:
Shape shape1 = null;
Square square1 = null;
Which four compile?
Correct Answer: A,C,D,E Vote an answer
Given the code fragment:

What is the result?
Correct Answer: B Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Given the code fragments:

What is the result?
Correct Answer: E Vote an answer
Given:

Which code fragment should you use at line n1 to instantiate the dvd object successfully?
Correct Answer: C Vote an answer
Which code fragment is illegal?
Correct Answer: D Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Given:
Correct Answer: D Vote an answer
Given the class definitions:
class C1 {}
class C2 extends C1 {}
class C3 extends C2 {}
and the code fragment:
16. C1 obj1 = (C1) new C2();
17. C2 obj2 = (C2) new C3();
18. C2 obj3 = (C2) new C1();
19. C3 obj4 = (C3) obj2;
Which line throws ClassCastException?
Correct Answer: B Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
Given:
public class Test {
}
From which class does the Java compiler implicitly derive Test?
Correct Answer: B Vote an answer
Which two array initialization statements are valid? (Choose two.)
Correct Answer: A,D Vote an answer
Given these classes:

and this mainmethod:

Which two options compile when placed at line n1of the mainmethod? (Choose two.)
Correct Answer: D,F Vote an answer
Examine the content of App.java:

Which is true?
Correct Answer: A Vote an answer
Given:

Which three lines will compile and output "right on!"?
Correct Answer: B,D,F Vote an answer
Given the code fragment:

What is the result?
Correct Answer: D Vote an answer
Explanation: Only visible for FreeCram members. You can sign-up / login (it's free).
0
0
0
10