(solution) What do you need to submit? You should submit 3 files for this

(solution) What do you need to submit? You should submit 3 files for this

What do you need to submit?

You should submit files for this assignment.

1.Firstname.java

2.First name_data.java

3.First name_output.docx

If your first name is mark, you need to submit three files as following

1.mark.java

2.mark_data.java

3.mark_output.docx

 

Instructions:

To introduce personal information in java

For this assignment you will design two classes that work together to introduce personal information.

 

The first file ( for example: mark.java)

Zybook example1: RunnerInfo.java

Zybook example2: GameInfo.java

The file should have the following methods:

setName . The method should set name.

getName. The method should get name.

setCredits. The method should set two semester credits

getTotalCredits. The method should return the total credits of the two semester.

isIdEven. This method should return the boolean value true if the number is an even number.

the second file(for example: mark_data.java):

This file should demonstrate the personal information as following:

1.Create an array which contains your current courses in Fall, 2015 and display each array element.

2.Set your real name to the method defined in the first file

3.Set your 2 real credits of fall, 2015 and Spring 2015 to the method defined in the first class ( for example, you have 13 credits for fall, 2015 and 15 credits for the spring,2015)

4.Check your real banner id without @ whether it is an even number.

5.Finally, you should display your real name, real courses you are taking in the Fall, 2015, the total credits for the two semesters of fall, 2015 and spring, 2015, and display whether your id [email protected] is an even number or not after you run the second file ( for example, mark_data.java)

 

public class Ahmed_Data {
static String fall_courses = {"Operating Systems", "Computer
Organization & Architecture",
"Data Structures and analysis", "Object…