Question: 1
Which three are advantages of the Java exception mechanism?
Question: 2
Given the code fragment:
And given the requirements:
Which two code fragments can be independently placed at line n1 to meet the requirements?
Question: 3
Given:
And given the commands:
javac Test.Java
Java Test Hello
What is the result?
Question: 4
Which three statements describe the object-oriented features of the Java language?
Question: 5
You are developing a banking module. You have developed a class named ccMask that has a maskcc method.
Given the code fragment:
You must ensure that the maskcc method returns a string that hides all digits of the credit card number except the four last digits (and the hyphens that separate each group of four digits).
Which two code fragments should you use at line n1, independently, to achieve this requirement?