5. Print out all messages in the mailbox object using printAllMessages () method. Your output should look like Figure 3. 4 Bluel: Terminal Window - 1_Solution Options Message list in the mailbox after...


5. Print out all messages in the mailbox object using printAllMessages () method. Your<br>output should look like Figure 3.<br>4 Bluel: Terminal Window - 1_Solution<br>Options<br>Message list in the mailbox after removing six messages<br>Message 1<br>From: Rudolf_C_Gouker<br>To: Andy_R_Sayer<br>This is test_message_7<br>Message 2<br>From: Zachary_B_Howard<br>To: Craig Smith<br>This is test_message_8<br>Can only enter input while your programming is running<br>Figure 3: A screenshot of the program output 3.<br>2<br>Required outputs<br>You should print out all three outputs as shown in Figures 1-3. Put them together (copy<br>and paste) in one output file (.txt).<br>3<br>Submission<br>Upload the following items on D2L dropbox, including:<br>1. The source code, including four java files:<br>(a) Message.java<br>(b) MessageTester.java<br>(c) Mailbox.java and<br>(d) MailboxTester.java<br>2. One program output file (containing the information similar to three figures).<br>

Extracted text: 5. Print out all messages in the mailbox object using printAllMessages () method. Your output should look like Figure 3. 4 Bluel: Terminal Window - 1_Solution Options Message list in the mailbox after removing six messages Message 1 From: Rudolf_C_Gouker To: Andy_R_Sayer This is test_message_7 Message 2 From: Zachary_B_Howard To: Craig Smith This is test_message_8 Can only enter input while your programming is running Figure 3: A screenshot of the program output 3. 2 Required outputs You should print out all three outputs as shown in Figures 1-3. Put them together (copy and paste) in one output file (.txt). 3 Submission Upload the following items on D2L dropbox, including: 1. The source code, including four java files: (a) Message.java (b) MessageTester.java (c) Mailbox.java and (d) MailboxTester.java 2. One program output file (containing the information similar to three figures).
2. Read all eight messages into Mailbox object from the file of

Extracted text: 2. Read all eight messages into Mailbox object from the file of "messages1.txt". The values for each line will be used to initialize each instance variable of the Message object, and then added into the Mailbox object. Important: Your must read the values in from the file using Scanner object, you are not allowed to initialize the objects manually. 3. Print out all messages using printAllMessages () method. Your output should look like Figure 2. Bluel: Terminal Window - 1 Solution Options Message list in the mailbox after loading from a file Message 1 From: Eric_A_Bially To: Zachary_B_Howard This is_test_message_1 Message 2 From: Brett_V_Bohorquez To: Marcus_R_McPartland This is_test_message_2 Message 3 From: Aron_I_Brewster To: Patrick_C_Nauman This is_test_message_3 Message 4 From: Joshua_J_Dennis To: Jacob_G_Neff This_is_test_message_4 Message 5 From: Stephen_M_Gentzler To: Kevin_A_0rlowski This is_test_message_5 Message 6 From: Adam_James_D_Geosits To: Oscar_J_Phillips This is_test_message_6 Message 7 From: Rudolf_C_Gouker To: Andy_R_Sayer This_is_test_message_7 Message 8 From: Zachary_B_Howard To: Craig_Smith This is_test_message_8 Figure 2: A screenshot of the program output 2. 4. Remove message at position 0 (index) using removeMessage (), and repeat it six times.
Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here