[Java] Syntax error on token "class", @ expected" class SingletonTest(){ public static void main(String[] args){ Singleton s = Singleton.getInsance(); } } // SingletonTest() class SingletonTest{ public static void main(String[] args){ Singleton s = Singleton.getInsance(); } } //correct version Programming Language/Java 2023.12.31