Q72
What will be the correct option of the following Java code snippet? interface ICust class RegularCustomer implements ICust class OneTimeCustomer implements ICust
A.
ICust can be replaced with RegularCustomer
AnswerB.
RegularCustomer can be replaced with OneTimeCustomer
C.
OneTimeCustomer can be replaced with RegularCustomer
D.
We can instantiate objects of ICust
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board