• Card 9 / 13: 3. class SubException extends Exception { } 4. class SubSubException extends SubException { } 5. 6. public class CC { void doStuff() throws SubException { } } 7. 8. class CC2 extends CC { void doStuff() throws SubSubException { } } 9. 10. class CC3 extends CC { void doStuff() throws Exception { } } 11. 12. class CC4 extends CC { void doStuff(int x) throws Exception { } } 13. 14. class CC5 extends CC { void doStuff() { } } What is the result? (Choose all that apply.)
    A) Compilation succeeds
    B) Compilation fails due to an error on line 8
    C) Compilation fails due to an error on line 10
    D) Compilation fails due to an error on line 12
    E) Compilation fails due to an error on line 14

    Answer:
    C) Compilation fails due to an error on line 10

  • Keyboard Shortcuts

    Previous Card ← Previous Card Button
    Next Card → Next Card Button
    Flip Card Space-Bar
<< First < Previous Next > Last >>

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now
Hide Choices Interactive Question Quiz Home Page
https://www.jobilize.com/ocjp-1z0-803-oca1-7-mock-exam-part-ii-quiz-by-pankaj-amdocs-gurg

OCA(1z0-803_OCA1.7)MockExamPII

Author:

Access: Public Instant Grading

Flash Cards plugin by Curtis Blackwell github.com/curtisblackwell/flash_cards
Google Play and the Google Play logo are trademarks of Google Inc.
Ask
David Bourgeois
Start Quiz
JavaChamp Team
Start Quiz
Madison Christian
Start Exam
Copy and paste the following HTML code into your website or blog.
<iframe src="https://www.jobilize.com/embed/ocjp-1z0-803-oca1-7-mock-exam-part-ii-quiz-by-pankaj-amdocs-gurg" width="600" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>