package hike.base;
/**
* @author hike
* @version 1.0
* @since 1.8
*/
public class Doc {
String name;
/**
*
* @param name
* @return
*/
public String test(String name) {
return name;
}
}
Javac -encoding UTF-8 -charset UTF-8 xxx.java (图片中charset前面少了一个 '-')