Currently browsing tag

OCPJP, Page 3

ocpjp-6-thumbnail

OCPJP 6 Mock Exam – 9

1 . What is the result when you compile and run the following code? Choose the one below: Compile Time error Runtime …

ocpjp-6-thumbnail

OCPJP 6 Mock Exam – 7

1 . Consider the following line of code: What will be happen if you compile and run above code? It will not …

ocpjp-6-thumbnail

OCPJP 6 Mock Exam – 6

1 . Please select signed integrals char, byte, and short byte, short, int, and long char, short, and long 2 . Java …

ocpjp-6-thumbnail

OCPJP 6 Mock Exam – 5

Q 1 : Which of the following are the correct form of documentation comments? //some text here /*some text here*/ /**some text …

ocpjp-6-thumbnail

OCPJP 6 Mock Exam – 4

Q 1 : What will be the output? Choose the one below: String Object null Compiler Error Q 2 : What will …

ocpjp-6-thumbnail

OCPJP 6 Mock Exam – 2

Q 1 : What is the output? Choose the one below: 10 20 ClassCastException Compiler Error Compiler Error Q 2 : What …

ocpjp-6-thumbnail

OCPJP 6 Mock Exam -1

Q 1 : What will be the output? Choose the one below: 0 0 0 ArrayIndexoutOfBoundsException NullPointerException null null null Q 2 …