java program part 2

Write a program in Java and run it in BlueJ according to the following specifications:The program reads a text file with student records (first name, last name and grade) and prints them on the terminal window.Then it prints three separate lists of excellent students, ok students and failure students according to their grades: excellent (> 89), ok [60,89], and failure (< 60).Finally, the program prints the total number of students, their grade average, and the students with highest and lowest grade.For example, if the input text file includes the following data:John Smith 90Barack Obama 95Al Clark 80Sue Taylor 55Ann Miller 75George Bush 58John Miller 65the program prints the following:Students with excellent grades:John Smith 90Barack Obama 95Students with ok grades:Al Clark 80Ann Miller 75John Miller 65Students with failure grades:Sue Taylor 55George Bush 58Total number of students: 7Average grade: 74.0Student with highest grade: Barack Obama 95Student with lowest grade: Sue Taylor 55Requirements and restrictions:Define a class Student to represent the student information (student names and grade). Do NOT use public instance variables.Define and use an array of objects of class Student to store all student records read from the file.Define and use the following methods for:Computing the average grade of all students.Finding the students with highest and lowest grades.Printing students in each grade category.Do NOT use the array of Students directly in the main method, all processing must be done by the methods described above using the array passed to them as a parameter.When you write your programuse proper names for the variables suggesting their purpose.format your code accordingly using indentation and spacing.use multiple line comment in the beginning of the code and write your name, e-mail address, class, and section.for each line of code add a short comment to explain its meaning.Extra credit (up to 2 points):The extra credit will be given for extending the program to sort the array of students by grade and print the sorted array. Use the bubble sort algorithm as implemented in

Related Posts

Quality Writing Features

Price Start $10
  • 24/7 Customer Support
  • All Subject Areas
  • Money-Back Guarantee
  • Timely Delivery
  • Originality report
  • Confidentiality guaranteed

Ordering Homework Writing Service

You can get our ideal online homework help services with four easy steps. All you have to do is inform us of your requirements. Immediately we will match with a specialist in your academic discipline. After that, we will track your order, review it to ensure it meets your requirements, and submit it to your email.


Submit Requirements

Fill in your assignment instructions on the order form


Writer match

Immediately you contact us for homework help; we will assign your assignment to an academic expert.


Quality review

We have a team of editors, who will thoroughly review your assignment, ensuring there are no errors before submission


Get Your Completed Paper

Once we have completed the assignment, we will deliver it to your account. Additionally, we will send a notification to your email.



Budget-friendly writing services



We don’t share our client’s information with a third party



We write every assignment from scratch

Amazing Homework Writing Features

Once you consult us for homework help online services, you will attest to why we are among the USA's best essay writing services.

Read on and find out some of the features that make our services superlative.

Free Homework Writing Services

Free plagiarism checker

You can confirm that the content you get is original for free using our plagiarism checker.

Free samples

We offer unlimited access to our essay homework samples.

Free title page and bibliography

Once you place an order, we format it accordingly without demanding additional charges.

Free unlimited revisions

We offer free unlimited revisions until your assignment is of your desired quality..

Free editing and proofreading

We have a team of specialized editors who review your assignment before submission.

Free customer support

You can track the progress of your homework for free.

Request for Homework Writing Service Today!

We have over 500 homework writing experts, ready and waiting to help you improve your writing skills