Hello there,
I use version 14.0.2. When I write just one line code:
System.out.println("hello");
in main static method,
Analyze compain that "hello" with "class or interface expected".
But it can compile and run well.
If I change to
System.out.println(new String("hello"));
It won't compain the error.
What's wrong? Is this a bug? Thanks for reply in advanced.