Please fo function to set grades .

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 16RQ
icon
Related questions
Question

Please fo function to set grades

 

Student Student ID: int_ID: int
Grades Grades[5]: ints [5]: int
+ setgrati setgrades: void est void
+ setID:+setID: int De int
+ setage setage: double double
+ print:voprint:voidintivoid
+ age:int age:int agerint
+ OOPstOOPstudent() dent())
1. Write tWrite the c+of code of the above UML diagram.agram.
2. Wri2e tWrite the class member function definitions (including class constructor).ructor).
3. Cre3te Create an object of the same class data type in the main function, nction.
4. Usi4 tUsing the declared object, call all the class member functions. (use the following lowing
values) values):values):
1. ID=1120D-12021330021330
2. GR2D GRADES: 5,6,7,8,9,6,7,8,9
3. AGB: 1AGE: 19GE: 19
Transcribed Image Text:Student Student ID: int_ID: int Grades Grades[5]: ints [5]: int + setgrati setgrades: void est void + setID:+setID: int De int + setage setage: double double + print:voprint:voidintivoid + age:int age:int agerint + OOPstOOPstudent() dent()) 1. Write tWrite the c+of code of the above UML diagram.agram. 2. Wri2e tWrite the class member function definitions (including class constructor).ructor). 3. Cre3te Create an object of the same class data type in the main function, nction. 4. Usi4 tUsing the declared object, call all the class member functions. (use the following lowing values) values):values): 1. ID=1120D-12021330021330 2. GR2D GRADES: 5,6,7,8,9,6,7,8,9 3. AGB: 1AGE: 19GE: 19
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Types of trees
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT