Menu

[Solved]Create Java Project Create Student Class Class Following Attributes Name String Age Int Id Q37232740

Create a java project and create Student class.

This class should have the following attributes, name : Stringage : int id : String gender : String gpa : double and toString()method that returns the Student’s detail. Your project shouldcontain a TestStudent class where you get the student’s info fromuser , create student’s objects and save them in an arralist.

You should save at least 10 student objects in this arraylistusing loop statement. Then iterate through the arralist ,

1. print the details of all the students.

2. print female to male ratio (example female to male ratio is 6: 4)

***** Please write the program in java code not in any otherprogramming languages. Thank you

Expert Answer


Answer to Create a java project and create Student class. This class should have the following attributes, name : String age : int… . . .

OR


Leave a Reply

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