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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started