I am getting the following error in VScode IDE . Kindly help me with the Solutions related to VScode
I created a package named as test in visual studio code . The program written in that package failed to execute , program is :
package test;
public class Example{
public static void main(String args[])
{
System.out.println("HELLO");
}
}
It throws an error the same program works completely fine when placed in the default package here it is kindly help me with the package working or help me if there is any setting in vscode which has to be setup