class Abc
{
private int a;
private int b;
private int c;
Abc(int a, int b, int c)
{
this.a = a;
this.b = b;
this.c = c;
}
public String toString()
{
return "a= "+a+",b= "+b+",c="+c;
}
}
class useAbc
{
public static void main(String args[])
{
Abc theAbc = new Abc(11,13,48);
System.out.println("here it is "+theAbc);
}
}
Where can I find more information about this usage? Can I find it in specification or jdk doc?
{
private int a;
private int b;
private int c;
Abc(int a, int b, int c)
{
this.a = a;
this.b = b;
this.c = c;
}
public String toString()
{
return "a= "+a+",b= "+b+",c="+c;
}
}
class useAbc
{
public static void main(String args[])
{
Abc theAbc = new Abc(11,13,48);
System.out.println("here it is "+theAbc);
}
}
Where can I find more information about this usage? Can I find it in specification or jdk doc?