Answered step by step
Verified Expert Solution
Question
1 Approved Answer
the language is Java Project: The Student Class CSCI 1302 Principles of Programming II Problem Description: (The Student class) Design a class named Student that
the language is Java
Project: The Student Class CSCI 1302 Principles of Programming II Problem Description: (The Student class) Design a class named Student that contains: . A private String data field named Name for the student (default "No Name"). A private double data field named Testl for the student (default 0.0). A private double data field named Test2 for the student (default 0.0). . A private double data field named Test3 for the student (default 0.0). . A no-arg constructor that creates a default student. A constructor that creates an student with the specified Name, Testl, Test2, and test3. The accessor and mutator methods for Name, Test1, Test2, and test3. Test3). Draw the UML diagram for the class. Implement the class. Write a test program that med getAverage0 that returns the average of three tests (Testl,Test2, and creates a Student object. Use Scanner object to enter (name,test 1,test2,and test3). Use mutator methods to initialize student class reference variables. Use accessor methods to display name, test1, test2, test3, and averageStep 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