Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

Which of the following declarations are valid? class Base { … } interface Spec { … } class Derived extends Base implements Spec { }

Which of the following declarations are valid?

class Base
{

}

interface Spec
{

}

class Derived extends Base implements Spec
{
}

options:

Derived object5 = new Spec();
Derived object2 = new Base();
Spec object4 = new Base();
Spec object3 = new Derived();
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"