Question: Java Programming COMP - 2 2 8 Lab # 2 Page 2 of 2 Write a Java application that creates a Java console application to
Java Programming COMP
Lab # Page of
Write a Java application that creates a Java console application to keep records of students and
displays stored record. Follow the following instructions to develop the application:
Create a class named Student with the following specifications:
instance variables that would store the following student data Use recommended
variable naming conventions and appropriate data type for each instance variable:
o Students id
o Students name
o Students address
o Students date of birth
o Students department
Several constructors that would allow you to construct Student object with no
arguments, argument, arguments, arguments, arguments, and arguments.
Create Setters and getters for all the instance variables of class Student. Make sure
to have several setters that would allow you to set the values of individual instance
variables of the student object. Also create one setter that would allow you to set
all the values of the instance variables at once. Create several getters that would
allow you to get the current individual values of each instance variables of the
Student object.
Create the driver class that would create Student student object with the help
of the no argument constructor. Display the default values of the instance variables
of this object student
Set the values of each instance variables with the help of setters. Display the values.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
