read_multiple_intput from command prompt

import java.util.*;
import java.io.*;
//javac read_multiple_int.java
public class read_multiple_int
{
//declaring variable
private int player_no;
public read_multiple_int(){ System.out.println("This is a constructor with no param");}
public static void main(String[] args) throws IOException
{
// creating instance and object "t" of the read_multiple_int class
Scanner sc = new Scanner(System.in);
System.out.println("Read three number " );
int n1 = sc.nextInt();
int n2 = sc.nextInt();
int n3 = sc.nextInt();
read_multiple_int t = new read_multiple_int();
t.get_no(n1, n2, n3);

}
public void get_no(int n1, int n2, int n3)
{
System.out.println("received three numbers "+ n1 + " " + n2 + " " +n3 );
}
}