Regarding the "error: need'{'" in JAVA
Here is the test code made by the author
```java
public class Try.Error
{
public static void main(String[] args){
System.out.println("Hello World! ");
}
}
出现这个问题的原因极有可能是因为类名用了“.”,java中的类命名是不能用的。
只要改一下类名就可以了~~~
![这是改名之后的运行结果](https://img-blog.csdnimg.cn/20200908225506265.png#pic_center)