class Student { private String name; private static int count; public static int currentYear; public static final int GRADYEAR = 2005; public Student(String name) { this.name=name; count++; } public static int getCount() { return count; } } public class Course { public static void main(String[] args) { System.out.println(Student.GRADYEAR); Student s1 = new Student("Dani"); Student s2 = new Student("Shagrath"); Student.currentYear = 2001; System.out.println(s2.currentYear); System.out.println(Student.getCount()); } } /* Output: 2005 2001 2 */