QuestionQ61
Working with Selected Classes from the Java APIYou are developing a banking module. You have created a class named ccMask that has a maskcc method.
Given this code fragment:

You must ensure that the maskcc method returns a string that conceals every digit of the credit card number except its last four digits, while retaining the hyphens separating each group of four digits.
Which two code fragments can you use independently at line n1 to meet this requirement?

Choose two
- A Option A
- B Option B
- C Option C
- D Option D
Community Discussion