Question: Refer to the interface Sellable: interface Sellable { / * * Returns a description of the object. * / public String description ( ) ;

Refer to the interface Sellable:
interface Sellable {
/** Returns a description of the object. */
public String description();
/** Returns the list price in cents. */
public int listPrice();
/** Returns the lowest price in cents we will accept. */
public int lowestPrice();
}
What must be true of any class that implements Sellable?
Group of answer choices
gives an implementation of method String description()
gives an implementation of method int listPrice()
gives an implementation of method int lowestPrice()
has an instance variable keeping a description
has an instance variable keeping a price
has a constructor that takes arguments: a String (for the description) and an int (for the price)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!