Question 1:
Your task is to: (a) write a Java program to implement the above design and (b) Add the necessary documents as mentioned above.
Your program should incorporate the following requirements:
The output and messages displayed when the constructors are called are given below.
The circle and Rectangle classes are instantiated as follows.
Question 2:
The design of a JavaFX application is shown below. Your application should be able to add the name, age and gender of a person using the ADD button. After adding the details of a person, you should be able to print the details of person using the PRINT button. You dont have to implement the search and delete buttons. Some of the key points that you must remember,
Im not much concerned about the design, unless it performs the said functionality, Ive added the screenshots just to give you all an idea of how it looks.
Some of the hints I can give is, you must define an ArrayList named pplList to perform the said functionality.
You must create people class that implements Comparable Interface
And, ofcourse with Comparable Interface, you must use the comapreTo Method,
Please look through our labs, and the source code I have uploaded in Wattle, understand and perform the design and functionality.
Your task is to: (a) write a Java FX program to implement the above design, add a persons details and print the persons details (b) You must add the documents as mentioned above. The sample screenshots of the output are,
Screenshots:
Reviews
There are no reviews yet.