News
Take Java's Calendar and DateFormat classes (but oddly not their GregorianCalendar and SimpleDateFormat classes). You can have any number of Calendars and DateFormats in a program.
See the Java 101 Java interfaces tutorial for a more in-depth introduction to using interfaces in your Java programs, including where and where not to use default, static, and private methods.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results