Skip to content

Commit 54d200a

Browse files
committed
Chapter11
1 parent b554601 commit 54d200a

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

ch11/DateTester.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
public class DateTester
2+
{
3+
public static void main(String[] args)
4+
{
5+
Date currentDate = new Date (27, 4, 2018);
6+
printcurrentDate(Date);
7+
}
8+
public static void currentDate (Date[] Date)
9+
{
10+
for (Date date : Date)
11+
{
12+
System.out.println(date.getDate());
13+
}
14+
}
15+
16+
}

0 commit comments

Comments
 (0)