Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please write a simple Java program on bluej the user enter the grade SAMPLE OF OUTPUT: Enter student details: First Name: John Last Name: Kendall
please write a simple Java program on bluej
the user enter the grade
SAMPLE OF OUTPUT: Enter student details: First Name: John Last Name: Kendall Marks : 96 Grade First Name John Last Name Kendall A+ Another student? (Yes 1, No ):> 1 Enter student details: First Name: Mary Last Name: Kendall Marks : 76 Grade FirstName Last Name Mary Kendall Another student? (Yes - 1, No - 8):> Total student : 2 Exit.. PROBLEM SOLVING TIPS: Num a) Grade /2m Tips Class Student with four attributes firstName, lastName, mark, grade Define a default constructor which is empty. b) /2m /3m d) /3m 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 displayAll) 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. 2m 18m Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started