Write two Java classes: Student and Main as follow: Class Student: A. Create three private variables: Name, ID and Specialization. B. Define set and get methods for the variable Name. C. Override the...

Write two Java classes: Student and Main as follow: Class Student: A. Create three private variables: Name, ID and Specialization. B. Define set and get methods for the variable Name. C. Override the toString method to display the class instances. Class Main: A. Define the main method B. Define an array of the class Student with a size of 10. c. Use the loop for data entry in each object. D. Print all objects values.

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here