JAC444 – Mehrnaz zhian Solved

$ 24.99
Category:

Description

Applied Arts & Technology

Workshop 4
Notes:
i. One task should be demo during the class.
ii. In order to get the full mark, all the tasks should be submitted through the blackboard.
iii. Make sure you have all security and check measures in place, like wrong data types etc., implement the proper Exception Handling in any tasks needed.
iv. Make your project in proper hierarchy; introduce proper class coherence in your project. Proper packages and any tasks that uses inheritance, should be handled by only one main method which should be in a TesterClass.
v. Given output structure is just for student to have a glimpse what the output can look, students are free to make the output better in any way.

Other inputs can be given during demo, so make sure you test your program properly
1. Write a program that meets the following requirements:
Creates an array with 100 randomly chosen integers.
Prompts the user to enter the index of the array, then displays the corresponding element value. If the specified index is out of bounds, display the message Out of Bounds.
Write a test program that creates a Person, Student, Employee, Faculty, and Staff, and invokes their toString() methods.

*** Here is what MyDate class contains of:
o A constructor that constructs a MyDate object with a specified elapsed time
o A constructor that constructs a MyDate object with the specified year, o month, and day.
o Three getter methods for the data fields year, month, and day, respectively.
3. Write a nested for loop that prints the following output:

4. Write a program to show the following table:

Reviews

There are no reviews yet.

Be the first to review “JAC444 – Mehrnaz zhian Solved”

Your email address will not be published. Required fields are marked *