I'm starting in java, and I'm trying to run a program that prints a text. is this:
public class Test {
public static void main(String[] args) {
System.out.println("Yass");
}
}
But I get this:
C: Users / myuser / Desktop / myuser / testing.java: 1: error: class Test is public, should be declared in a file called Test.java
But there's the problem: I do not know how to make the Test.java file to run the code