Question: ** JAVA ** Use the class and interface headers below. public interface Readable public interface Downloadable public abstract class Book implements Readable public class Dictionary
** JAVA ** Use the class and interface headers below. public interface Readable public interface Downloadable public abstract class Book implements Readable public class Dictionary extends Book public class eBook extends Book implements Downloadable Which of the following are legal assignments? Write the statement number of each legal assignment. Readable r = new Readable(...) Readable r = new Book(...) Readable r = new Dictionary(...) Readable r = new eBook(...) Book b = new Book(...) Book b = new Dictionary(...) Book b = new eBook(...) Dictionary d = new Dictionary(..) Downloadable d = new Downloadable(...) Downloadable d = new Book(...) Downloadable d = new Dictionary(...) Downloadable d = new eBook(...) Readable[] readableThings = new Readable[10] Book[] books = new Book[10] Dictionary[] dictionaries = new Dictionary[10]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
