Higher Test Marks with Free Online 1Z0-808 Exam Practice

Assess the CertsIQ’s updated 1Z0-808 exam questions for free online practice of your Java SE 8 Programmer I test. Our Java SE 1Z0 808 dumps questions will enhance your chances of passing the Oracle Certified Associate certification exam with higher marks.

Exam Code: 1Z0-808
Exam Questions: 608
Java SE 8 Programmer I
Updated: 21 Aug, 2025
Question 1

Given:

HPE6-A70
What is the result?

Options :
Answer: A

Question 2

Which statement is true about the switch statement?

Options :
Answer: D

Question 3

Consider below code of Test.java file:

1. package com.sampleproject.oca;

2.  

3. public class Test {

4.     public static void main(String[] args) {

5.         String [][] arr = { {"%", "$$"}, {"***", "@@@@", "#####"}};

6.         for(String [] str : arr) {

7.             for(String s : str) {

8.                 System.out.println(s);

9.                 if(s.length() == 4) //Line n1

10.                     break; //Line n2

11.             }

12.             break; //Line n3

13.         }

14.     }

15. }

What will be the result of compiling and executing Test class?

Options :
Answer: E

Question 4

Consider below codes of 3 java files:

1. //Super.java

2. package com.sampleproject.oca;

3.  

4. public interface Super {

5.     String name = "SUPER"; //Line n1

6. }

1. //Sub.java

2. package com.sampleproject.oca;

3.  

4. public interface Sub extends Super { //Line n2

5.  

6. }

1. //Test.java

2. package com.sampleproject.oca;

3.  

4. public class Test {

5.     public static void main(String[] args) {

6.         Sub sub = null;

7.         System.out.println(sub.name); //Line n3

8.     }

9.

Which of the following statements is correct?

Options :
Answer: E

Question 5

What will be the result of compiling and executing Test class?

package com.udayan.oca;

 

import java.util.ArrayList;

import java.util.List;

 

public class Test {

     public static void main(String[] args) {

         List list = new ArrayList<>();

         list.add(100);

         list.add(7);

         list.add(50);

         list.add(17);

         list.add(10);

         list.add(5);

 

         list.removeIf(a -> a % 10 == 0);

 

         System.out.println(list);

     }

}

Options :
Answer: A

Viewing Page : 1 - 61
Practicing : 1 - 5 of 608 Questions

© Copyrights CertsIQ 2025. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (CertsIQ). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the CertsIQ.