Using JavaDoc
Then you are to create on-line materiasl using javadoc on the commented java file you created. View the HTML documentation produced using a Web browser and show the results to your instructor. code: class Student { String Name; float age; int SSnumber; Course class1; void register(String classname, int section, String semester, int year) { class1 = new Course(classname, section, semester, year); System.out.println("You are now registerd for: " + classname + " section " + section); } } class Course { String name; int section; String semester; int year; String Instructor; Course(String c, int s, String sem, int y) { name = c; section = s; semester = sem; year = y; } void SetInstructor(String n) { Instrucotr = n; } } |
© Lynne Grewe |