Open main menu

CDOT Wiki β

Changes

User:Qinzhi

14 bytes added, 17:37, 2 February 2011
no edit summary
Use mouse to expend cs.ecl.basics.simple, I can see src and JRE System Library.
4. Creating a Java class
In package explorer, right click on src folder, and select new->class, type student, and click enter key. Actually Library.java is a class, I'm going to use it as an example instead of student.java.
5. Editing Java elements
In Library.java, I use source generator added following code:
@Override public String toString() { return "Library [resources=" + resources + "]"; }
6. Renaming Java elements
I changed Video.java to Audio.java by changing the interface name.
1
edit