代码拉取完成,页面将自动刷新
/**
A computer class has a title, time and room
*/
public class ClassSchedule
{
private String title;
private String days;
private String startTime;
private String endTime;
private String room;
/**
Constructs a computer class with title, days, time and room
*/
public ClassSchedule(String classTitle, String meetingDays, String aStartTime, String anEndTime, String classRoom)
{
// your work here
title = classTitle;
days = meetingDays;
startTime = aStartTime;
endTime = anEndTime;
room = classRoom;
}
/**
Gets the title
@return the title
*/
public String getTitle()
{
// your work here
return title;
}
/**
Gets the time in the form "days start time-end time"
@return the time
*/
public String getTime()
{
// your work here
String time =days+" "+startTime+"-"+endTime;
return time;
}
/**
Gets the room
@return the room
*/
public String getRoom()
{
// your work here
return room;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。