29.2k views
0 votes
write an interface downloadable that has a method "geturl" that returns the url of a downloadable object

1 Answer

1 vote

Answer:

I want to believe the program is to be written in java and i hope your question is complete. The code is in the explanation section below

Step-by-step explanation:

import java.util.Date;

public interface Downloadable {

//abstract methods

public String getUrl();

public Date getLastDownloadDate();

}

User Vince M
by
5.8k points