What is the result?

Given:

What is the result?
A. myStr: 9009, myNum: 9009
B. myStr: 7007, myNum: 7007
C. myStr: 7007, myNum: 9009
D. Compilation fails

Download Printable PDF. VALID exam to help you PASS.

One thought on “What is the result?

  1. C is the correct answer ,
    bcs the variable myStr is a local variable in the try block , so display the instance variable myStr that equals to “7007”

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.