-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSuperDepartment.java
More file actions
38 lines (31 loc) · 971 Bytes
/
SuperDepartment.java
File metadata and controls
38 lines (31 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**************************************************************************************
* Student :Ramakrishnan N
* Assignment : Graded Coding Assignment 1
* Description : Super Class called Super Department created
* Constraints : Methods created with return type string and no parameters allowed
*
****************************************************************************************/
package department;
class SuperDepartment
{
public String departmentName()
{
String departmentName = "Super Department";
return departmentName;
}
public String getTodaysWork()
{
String getTodaysWork = "No work as of now";
return getTodaysWork;
}
public String getWorkDeadline()
{
String getWorkDeadline = "Nil";
return getWorkDeadline;
}
public String isTodayHoliday()
{
String isTodayHoliday = "Today is not a Holiday";
return isTodayHoliday;
}
}