1.

What is the correct option with regards to below snippet?
interface NewCustomer 
{
}
class RegCustomer implements NewCustomer
{
}
class QuickCustomer implements NewCustomer
{
}

A. QuickCustomer can be replaced with RegCustomer
B. We can instantiate objects of NewCustomer
C. NewCustomer can be replaced with RegCustomer
D. RegCustomer can be replaced with QuickCustomer
E. None of these
Answer» D. RegCustomer can be replaced with QuickCustomer


Discussion

No Comment Found

Related MCQs