O'Reilly logo

Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805: A Comprehensive OCPJP 7 Certification Guide by Tushar Sharma, S G Ganesh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

APPENDIX C

image

Mock Test – 2

The questions in this mock test are designed per the requirements of the OCPJP7 exam pattern and its standard. Take the test as if it were your real OCPJP 7 exam. Best of luck.

Time: 2 hours 30 minutes                                                                       No. of questions:90

  1. Consider the following program and predict the behavior of this program:
    class Base {        public void print() {                System.out.println("Base:print");        }}abstract class Test extends Base { //#1        public static void main(String[] args) {                Base obj = new Base();                obj.print(); //#2 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required