Saturday, July 22, 2023

JAVA - COMMANAD LINE - EXAMPLE 1

 public class CommandLine1 {

    public static void main(String[] args) {
        int a,b,c;
        a=Integer.parseInt(args[0]);
        b=Integer.parseInt(args[1]);
        c=a+b;
        System.out.println("Sum is="+c);
    }
}

No comments:

Post a Comment

Interference in Light vs Quantum States

🔬 The Double-Slit Experiment: Where It All Begins One of the most famous demonstrations of interference is the double-slit experiment. When...