Question: Make the changes to the time table application, discussed in self-test question 5 above, so that the application can be run from the command line

Make the changes to the time table application, discussed in self-test question 5 above, so that the application can be run from the command line and by clicking an executable JAR file.

Self test question 5

You were asked to develop a time table application in programming exercise 8 of Chap. 8. Later, in programming exercise 3 of Chap. 14 you were asked to enhance this application with exceptions. Finally you were asked to develop a JavaFX interface for this application in programming exercise 6 of Chap. 17.

(a) How would you place the classes that make up the time table application into a package called timetableApp?

(b) What is meant by package scope and how would you give the Booking and TimeTable classes package scope?

(c) How would you run this application from the command line?

(d) What is the purpose of a JAR file and how would you create a JAR file for the timetableApp package form the command line?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!