- Category:
- JavaScript
- Tags:
-
[Text]
- File Size:
- 1kb
- Update:
- 2014-12-25
- Downloads:
- 0 Times
- Uploaded by:
- 吕萍丽
Description: 1, the preparation of the Student class, the class body definition:
Class (banji) and name (sname) members, private and character types
Constructor
The value function so subclasses can access private members
Redefine the parent class Object toString () method, can be class, the name form output object, and spell checking
Then write an RPG class, the class body contains the main method, write code to test the Student class body of writing.
To Search:
File list (Check if you may need any files):
实验4代码.txt