You can use the keyword this to have an object refer to itself:


public class SR
{
int number;
public SR(int number)
{
//Use "this" to refer to the "number" in this object,...