Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Code from driver class import java.util.*; /** * * @author nanajjar */ public class NotebookDriver { /** * @param args the command line arguments */

image text in transcribed

Code from driver class

import java.util.*; /** * * @author nanajjar */ public class NotebookDriver {

/** * @param args the command line arguments */ public static void main(String[] args) { // TODO code application logic here Notebook myNotebook = new Notebook(); Note myNote = new Note(); myNote.setCategory("ITS1213"); myNote.setTitle("UML diagrams"); myNote.setBody("A UML class diagram consists of one or more classes," + " each with sections for the class name, attributes (data), " + "and operations (methods)"); myNote.setDate("2/8/2022"); myNotebook.addNote(myNote); for(Note aNote:myNotebook.getNotes()){ System.out.println("Note title "+ aNote.getTitle()); } } }

In this activity, you are given two UML class diagrams which you have to implement: Once completed, download the driver class :-and test if it works with your code

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

MySQL/PHP Database Applications

Authors: Jay Greenspan, Brad Bulger

1st Edition

978-0764535376

More Books

Students also viewed these Databases questions