MCQOPTIONS
Saved Bookmarks
| 1. |
What is the correct option with regards to below snippet? interface ICust { } class RegularCustomer implements ICust { } class OneTimeCustomer implements ICust { } |
| A. | ICust can be replaced with RegularCustomer |
| B. | RegularCustomer can be replaced with OneTimeCustomer |
| C. | OneTimeCustomer can be replaced with RegularCustomer |
| D. | We can instantiate objects of ICust |
| Answer» B. RegularCustomer can be replaced with OneTimeCustomer | |