java -Xms2G code example
Example 1: java
public class Example {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
Example 2: java
class Anupam
{
public static void main(String...args)
{
System.out.println("HI this is Anupam Guin from Kolkata,INDIA");
}
}