forked from jreycid/JavaDebugging
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDebugTen2.java
More file actions
15 lines (15 loc) · 455 Bytes
/
DebugTen2.java
File metadata and controls
15 lines (15 loc) · 455 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// A Vacation is 10 days
// but an ExtendedVacation is 30 days
public class DebugTen2
{
public static void main(String args[])
{
DebugVacation = new DebugVacation();
DebugExtendedVacation =
new DebugExtendedVacation();
System.out.println("My vacation is for " +
myVacation.getDays() + " days");
System.out.println("Your vacation is for " +
yourVacation.getDays() + " days");
}
}