Question
JAVA: 1. Define a class called CSClass (as in a computer science department class). Define enough data and functionality to be meaningful. Use an array
JAVA:
1. Define a class called CSClass (as in a computer science department class). Define enough data and functionality to be meaningful. Use an array for student names and one for student numbers as a minimum of data. Define some methods, making sure they do something useful (like average grades, print out names, ect.) you may define them as non implemented for this part of the exercise. one method MUST be abstract. be sure to explain why you chose the one you did.
2. Choose three of the methods you defined abouve, and write them. One of your methods Must display the proper use of an array, and at least oone must usefully use a loop, and there must be an example of a switch. Your abstract method must show an example of how it should be properly implimented. if these are NOT CORRECTLY AND FULLY DEFINEED AND SYNTACTICALLY CORRECT, the entire method will be marked incorrect.
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