Question 1: Write a program that contains a class called Student with data members for storing student 5 digit student ID, name, year of study, marks of 3 subjects; and methods for accessing them and...

OOP in java Using java language Net beans jdkQuestion 1:<br>Write a program that contains a class called Student with data members for storing student 5<br>digit student ID, name, year of study, marks of 3 subjects; and methods for accessing them and<br>calculate the average of the student. The program should include a drive class with main()<br>method which creates objects of 2 or 3 of Student class and takes user inputs and stores them in<br>objects. The program should display contents of objects using public method called display()<br>defined in the Student class.<br>Also make the class diagram of the above given program.<br>

Extracted text: Question 1: Write a program that contains a class called Student with data members for storing student 5 digit student ID, name, year of study, marks of 3 subjects; and methods for accessing them and calculate the average of the student. The program should include a drive class with main() method which creates objects of 2 or 3 of Student class and takes user inputs and stores them in objects. The program should display contents of objects using public method called display() defined in the Student class. Also make the class diagram of the above given program.

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here