Question
Java Programming I am trying to make a program that will be for a student to keep track of each course and how much time
Java Programming
I am trying to make a program that will be for a student to keep track of each course and how much time they spend on each activity (i.e., exams, assignments, projects, classroom), so by the time the course is finished they can see how much time in hours was spent on each activity and an overall total of the hours devoted to each class. After I get this accomplished I will them be putting this in a GUI for now I just need a program that is basic. I have two of the classes created but I dont have a class for the actual time tracking. I am posting what code I have so far.
public class Student {
//Instance Fields
private String firstName;
private String lastName;
private String address;
private String city;
private String state;
private String zip;
private String email;
private String phone;
private String degree;
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getZip() {
return zip;
}
public void setZip(String zip) {
this.zip = zip;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getDegree() {
return degree;
}
public void setDegree(String degree) {
this.degree = degree;
}
}
public class Course {
private String courseTitle;
private int creditHours;
public String getCourseTitle() {
return courseTitle;
}
public void setCourseTitle(String courseTitle) {
this.courseTitle = courseTitle;
}
public int getCreditHours() {
return creditHours;
}
public void setCreditHours(int creditHours) {
this.creditHours = creditHours;
}
}
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