could not find or load main class error in java vscode code example
Example: Error: Could not find or load main class Hello Caused by: java.lang.ClassNotFoundException: Hello studio visual code
package dto;
/**
* Simple Java program to demonstrate following error
* Error :Could not find or load main class
*
* @author Javin Paul
*/
public class HelloHP {
public static void main(String args[]) {
System.out.println("My first program in Java, HelloWorld !!");
}
}