You can if you import static
like
import static java.lang.System.out;
then you can do
public static void main(String[] args) {
out.println("Hello, World");
}
2
solved System.out.println – Java
You can if you import static
like
import static java.lang.System.out;
then you can do
public static void main(String[] args) {
out.println("Hello, World");
}
2
solved System.out.println – Java