Update myclass.java

Attribute "name" added ...