OCPJP 6 Mock Exam – 3

ocpjp-6-thumbnail

Q 1 : What will be the output? Choose the one below: 1 2 3 0 Q 2 : What will be the output? Choose the one below: 1 2 3 4 Compiler error Q 3 : What will be the output? Choose the one below: 3 0 Runtime Exception Compiler error Q 4 : […]

OCPJP 6 Mock Exam – 2

ocpjp-6-thumbnail

Q 1 : What is the output? Choose the one below: 10 20 ClassCastException Compiler Error Compiler Error Q 2 : What is the output? Choose the one below: [null = null] NullPointerException null [] Q 3 : What is the output? Choose the one below: [null = null] NullPointerException null [] Q 4 : […]

OCPJP 6 Mock Exam -1

ocpjp-6-thumbnail

Q 1 : What will be the output? Choose the one below: 0 0 0 ArrayIndexoutOfBoundsException NullPointerException null null null Q 2 : Which of the following are valid array declarations? int arr[] = new int[]; float arr[10] = new fl double []arr = new double[10]; None Of the Above. Q 3 : What will […]

OCAJP FAQs

oca-thumbnail

How many OCAJP 7 exam questions? There are total 90 questions will be asked in the OCAJP 7 (1Z0-803). It is the entry level example in the Java Certification path. The questions which are asked as part of this exam is fundamentals of Java and not much programming or real time experience is required to […]

OCAJP 7 Exam Syllabus

oca-thumbnail

OCAJP 7 Exam Topics List Java Basics Define the scope of variables Define the structure of a Java class Create executable Java applications with a main method Import other Java packages to make them accessible in your code Working With Java Data Types Declare and initialize variables Differentiate between object reference variables and primitive variables […]

OCAJP 7 Mock Exam Questions (Java Basics)

oca-thumbnail

Q 1 : Which of the following are keywords in Java programming language a) public b) static c) void d) main e) scope Q 2 : Consider the code In the above code which of the following define local variables: a) i, j only. b) sum only. c) i, j and sum. d) There are […]