You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
299 B
Java
17 lines
299 B
Java
5 years ago
|
public class SquareResult
|
||
|
{
|
||
|
|
||
|
private int input;
|
||
|
private int output;
|
||
|
|
||
|
public SquareResult(int in, int out)
|
||
|
{
|
||
|
this.input = in;
|
||
|
this.output = out;
|
||
|
}
|
||
|
|
||
|
@Override public String toString()
|
||
|
{
|
||
|
return input +" ka square hai "+output;
|
||
|
}
|
||
|
}
|