Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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