Question: this is java thanks Q1. You are required to: a) Write a class Student which contains the following private data members: private String name; private

 this is java thanks Q1. You are required to: a) Write

this is java thanks

Q1. You are required to: a) Write a class Student which contains the following private data members: private String name; private long idNUmber; The class should have a constructor, an overloaded constructor, appropriate getter and setter methods and override the toString method. [15] b) Create a tester class called StudentDriver which includes the following methods: A method which asks the user for the size they wish the array to be and then creates an array of type Student of the specified size. The method has the following header: public static Student[] create() A method which populates the array by asking the used to input a name and ID number for each object stored within the array. The method has the following header: public static void populate(Student[] array) A method which displays the contents of the array, with the following header: public static void display(Student[] array) The tester class should create and populate the array with three student instances and display the contents of the array

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!