Create Degree.java