Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions

Question

Define marketing.

Answered: 1 week ago

Question

What are the traditional marketing concepts? Explain.

Answered: 1 week ago

Question

Define Conventional Marketing.

Answered: 1 week ago

Question

Define Synchro Marketing.

Answered: 1 week ago