CISC 323 Intro to Software Engineering
CISC 323 Intro to Software Engineering
CISC 323 Intro to Software Engineering
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
This code simply shows how a book list is instantiated<br />
public class SampleClient {<br />
public static void main (String [] args) {<br />
Book b = new Book (…);<br />
BookList bl = new BookListClassAdapter ();<br />
bl.addBook (b);<br />
System.out.println (“Book list has ” +<br />
bl.getNumBooks() + “ books”);<br />
}<br />
}<br />
¤<br />
¢ £<br />
¤ ¥<br />
¦ §<br />
¨¥<br />
©�<br />
¤�<br />
§<br />
©��<br />
�<br />
��<br />
�<br />
�<br />
�<br />
��<br />
��<br />
�<br />
�<br />
� � ����<br />
�£<br />
� § �<br />
¤<br />
¤ ¥<br />
§£ �<br />
�<br />
���<br />
��<br />
©§<br />
�<br />
�<br />
SampleClient.java<br />
¡