访问权限{public|default|protected|private} [final] [static] [synchronized]
返回值类型 方法名称(参数类型 参数名称,...) [throws Exception1, Exception2]{
[return [返回值|返回调用处]]
}
例如:
public final static synchronized String getInfo(String str) throws Exception{
return str;
}