Get_set value of a variable

import java.util.*;
import java.io.*;
//javac test_get_set.java
public class test_get_set
{
//declaring variable
private int player_no;
public test_get_set (){ 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 test class
test_get_set t = new test_get_set();
//send an argument to a method
t.set_no(12);
System.out.println("Player no : " +t.get_no());
}
private int get_no()
{
System.out.println("This method returns value to the calling function : " );
//intializing variable playr_no
player_no = 12;
return player_no;
}
private void set_no(int n1)
{
System.out.println("This method setting a value of a vriable : " );
//intializing variable playr_no
player_no = n1;
//return player_no;
}

}