Part 6 of 7-pdf-notes application From your Week 5 Assignment (pdf-notes), in ad
ID: 3838360 • Letter: P
Question
Part 6 of 7-pdf-notes application From your Week 5 Assignment (pdf-notes), in addition to Bookshelf, Book, Page, Highlight, and Annotation classes. you were given an additional class called 'Repository whose sole purpose is to stream in (read) and stream out (write) books from any storage device. Bookshelf -title: string Page -author: string page Number: integer -tags: Listcstring> +books: List Book> +annotations. Li CON +highlights: ListoHighlight +pages: List-Page i +add Highlight(begin, end) removeBook(book) +removeHighlight0 +add Annotation0 -editTags0 +editBook(book) remove Annotaton0 stream out Highlight Annotation any storage device +begin integer +begin integer tend integer tend: integer +strokeWidth integer +add(begin, end) ToolsPalette -marker: Marker -pens: ListcPen> adeactivate0 Pen Marker Eraser color: string estrokeWidh integer Lerase0 +highlight0 Tool -color: string -strokeMidth integer -change Color0 +change StrokeWidth0Explanation / Answer
Option D is the answer.
Option D has the correct squence. To highlight a page we have select a marker and after selecting it we have decide in which page from where to where we are going to highlight.After selecting the portions of the page,then it is highlighted with the marker.
In option D,after selecting the page,sequence is extended to highlight where the portions are highlighted.