Which three are valid?

Given:

interface Writable { }
interface Erasable { }
Which three are valid? (Choose three.)

Given:

interface Writable { }
interface Erasable { }
Which three are valid? (Choose three.)

A.
public class Pencil implements Erasable,Writable { /*…*/ }

B.
public interface Pencil extends Writable { /*…*/ }

C.
public interface Pencil implements Writable { /*…*/ }

D.
public class Pencil implements Writable { /*…*/ }

E.
public class Pencil extends Writable { /*…*/ }



Leave a Reply 0

Your email address will not be published. Required fields are marked *