Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Tasks: For our basic web browser, we will first focus on being able to keep a list of bookmarks (as local file or as http

image text in transcribed

Tasks: For our basic web browser, we will first focus on being able to keep a list of bookmarks (as local file or as http address). So, as your first task, you will have to create 3 classes: a class "Bookmark, containing and ID and an address (both as String) a class "BookmarkList, containing a partially-filled array of Bookmarks a "Browser" class, that is your driver class (i.e., the one with the main method inside). . Organize the necessary code to perform the following: (user input is bold and underlined) Menu: 1-Add bookmark 2-Print list of bookmarks Your choice? (0 to quit) 2 Bookmark list: Menu: 1-Add bookmark 2-Print list of bookmarks Your choice? (0 to quit) 1 ID for the bookmark: unb Web address or file name: www.unb.ca Menu: 1-Add bookmark 2-Print list of bookmarks Your choice? (0 to quit) 2 Bookmark list: unb: www.unb.ca Menu: 1-Add bookmark 2-Print list of bookmarks Your choice? (0 to quit) 1 ID for the bookmark: home Web address or file name: index.html Menu: 1-Add bookmark 2-Print list of bookmarks Your choice? (0 to quit) 2 Bookmark list: unb: www.unb.ca home: index.html Menu: 1-Add bookmark 2-Print list of bookmarks Your choice? (0 to quit) 0 Of course, your code should work for any number of options being selected and in any order (including any new bookmark being added). You can assume, though, that the user will always enter correct information

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions