Suppose that two different types of sources are used in a term paper: books and
journal articles. The following UML diagram illustrates how the sources are
organized.
First, implement the three classes, Source, Book, and Article, and then write a main method to use them. In the main method, ask the user to enter the number of references, create an array of type Source using the size the user entered, use a loop to ask the user to enter the information for each reference (book or journal article), and then output the contents of each object.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here