Question: please write a simple Java program on bluej Write a program contained a class Student which has firstName, lastName, mark, grade. The class allows object

please write a simple Java program on bluej  please write a simple Java program on bluej Write a program
contained a class Student which has firstName, lastName, mark, grade. The class

Write a program contained a class Student which has firstName, lastName, mark, grade. The class allows object instance to assign firstName, lastName and mark from Input user and perform and assign grade based on mark's criteria displayed below. Table 1 MARKS 95 - 100 90 - 95 85 - 290 80 - 85 75 - 1 Enter student details: First Name: Mary Last Name: Kendall Marks : 76 First Name Mary Last Name Kendall Grade C 1, No a): > Another student? (Yes Total student : 2 Exit.. PROBLEM SOLVING TIPS: Num Tips Class Student with four attributes firstName, lastName, mark, grade Grade 2m b) Define a default constructor which is empty /2m c) public set and get method for all attributes public method gradelo in which will receive input mark and assign a grade character to grade based on list of conditions displayed in Table 1 public method display() which will show output as in sample output A main program in which will create object instances, then derives user input and perform suitable set and get method to reflect output as shown above. Total

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!