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
What will be the correct option of the following Java code snippet?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the correct option of the following Java code snippet?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!