Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following workshop lets you practice basic java coding techniques, creating classes, methods, using arrays, Java I/0, inheritance, polymorphism, Exceptional Handling, JavaFx (GUI). The

image text in transcribed image

The following workshop lets you practice basic java coding techniques, creating classes, methods, using arrays, Java I/0, inheritance, polymorphism, Exceptional Handling, JavaFx (GUI). The focus will be practicing for JavaFx concepts. Task 1: Write a program to display a simple Address Book screen as show below Address Book First Name: Last Name: City: Add First Province: Next How to read a file. How to write a file. Previous Postal Code: Last Update X Task 2 (Event-Handling): The following task is a continuity of Task- 1 and based on some research as well. Research Part: During the lecture of Week 5 and in the workshop 4 you have practiced different concepts on Mostly everyone has practiced File Reader or FileWriter, FileInputStream or FileOutputStream, Buffered Readers etc. Task - 2 required you to first search on Random AccessFile in Java, o Advantages. JAC-444 o Where to use it. How to use it. Once you have read about the advantages and disadvantages of the RandomAccessFile in java then you can start the coding for the workshop. Coding Part: Write a program that stores, retrieves, adds and updates addresses as shown in the figure below. Use random access file for reading and writing an address. When the program starts your files should contains minimum 5 proper records [make sure the added records are proper not some random strings and/or postal code etc). Hint: Use fixed-length string for storing each attribute in the address. Address Book First Name: Jack Last Name: Smith City: Toronto Add First Province: Select Province Postal Code: L3R1V2 Next Semester ..... Previous Last Update

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Create a Java program using ObjectOriented Programming OOP principles to implement an Address Book with a JavaFX GUI The program should allow users to add retrieve update and display addresses Use a r... 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

Accounting concepts and applications

Authors: Albrecht Stice, Stice Swain

11th Edition

978-0538750196, 538745487, 538750197, 978-0538745482

More Books

Students also viewed these Programming questions

Question

What is the difference between persistence and self-determination?

Answered: 1 week ago