Question 86

Given:

What is the result?
  • Question 87

    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?
  • Question 88

    Given: Which is true?
  • Question 89

    Given the definitions of the MyString class and the Test class:

    What is the result?
  • Question 90

    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? (Choose two.)