Create a program named schoolsdemo that allows a user to


Question 1: Create a program named SchoolsDemo that allows a user to enter data about five school objects and then displays the school objects in order of enrollment size from smallest to largest. The school class contains fields for the school name and number of students enrolled and properties for each field. Also, include an Icompareable. CompareTo() method so that School Objects can be sorted by enrollment.

Question 2: Create a program named SchoolMinEnroll that modifies the SchoolsDemo program created in 8a so that after the school objects are displayed in order, the program prompts the user to enter a minimum enrollment figure.

Show all school objects that have an enrollment at least as large as the entered value.

Make this program using java programming and make this application in simple way.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Create a program named schoolsdemo that allows a user to
Reference No:- TGS0949821

Expected delivery within 24 Hours