Question: Write a class called StudentTest.java using main method. - Create two Student objects with departments CENG and ECON, respectively. - Set features of the first

Write a class called StudentTest.java using main method. - Create two Student objects with departments CENG and ECON, respectively. - Set features of the first student as follows: Student ID: 12345 Name: Ada Years of study: 4 GPA: 3.7 Scholarship (Yes/No): Yes - Print information of the first student by using printlinformation method. - Predict future salary of the student by using predictFutureSalary method if (s)he works in Turkey. - Read information of the second student by using readinformation method. - Print information of the second student by using printinformation method. - Predict future salary of the student by using predictFutureSalary method if (s)he works abroad. Sample Outputs: Ada, whose student ID is 12345, is studying 4th year at the "CENG" department with scholarship. Ada has a GPA of 3.7. This student may get 3960.0TL as salary in Turkey. Enter information of second student: Student ID: 54321 Name: Eda Years of study: 2 GPA: 2,54 Scholarship (Yes/No): No Eda, whose student ID is 54321, is studying 2nd year at the "ECON" department without scholarship. Eda has a GPA of 2.54. This student may get 23200.0 TL as salary abroad. Ada, whose student ID is 12345, is studying 4th year at the "CENG" department with scholarship. Ada has a GPA of 3.7. This student may get 3960.0 TL as salary in Turkey. Enter information of second student: Student ID: 12345 Name: Ada Years of study: 4 GPA: 3,7 Scholarship (Yes/No): Yes Ada, whose student ID is 12345, is studying 4th year at the "ECON" department with scholarship. Ada has a GPA of 3.7. This student may get 36600.0TL as salary abroad
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
