Oracle 1Z0-815 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: 1Z0-815
  • Exam Name/Title: Java SE 11 Programmer I
  • Certification Provider: Oracle
  • Corresponding Certification: Oracle Java Platform
  • Exam Questions: 125
  • Updated On: Jul 11, 2026
Given the code fragment:
int b = 3;
if ( !(b > 3)) {
System.out.println("square");
}{
System.out.println("circle");
}
System.out.println("...");
What is the result?
Correct Answer: D Vote an answer
Given:
class Overloading {
int x(double d) {
System.out.println("one");
return 0;
}
String x(double d) {
System.out.println("two");
return null;
}
double x(double d) {
System.out.println("three");
return 0.0;
}
public static void main(String[] args) {
new Overloading().x(4.0);
}
}
What is the result?
Correct Answer: B Vote an answer
Which statement best describes encapsulation?
Correct Answer: B Vote an answer
Given:

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

What is the output?
Correct Answer: C Vote an answer
Explanation: Only visible for EduDump members. You can sign-up / login (it's free).
What is the result?
public class StringReplace {
public static void main(String[] args) {
String message = "Hi everyone!";
System.out.println("message = " + message.replace("e", "X")); } }
Correct Answer: E Vote an answer
Given:

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

Which would cause sto be AQCD?
Correct Answer: D Vote an answer
0
0
0
10