java -Dtest= code example
Example 1: java
public class Example {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
Example 2: java
public class Main {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
Example 3: java
Java is a set of computer software and specifications developed by James Gosling at Sun Microsystems, which was later acquired by the Oracle Corporation, that provides a system for developing application software and deploying it in a cross-platform computing environment