public class BB
{
private int one;
private int two;
public boolean equal ()
{
return (one == two);
}
public print ()//missing retur type
{
System.out.println (one + " " + two);
}
public BB (int a, int b)
{
one = a;
two = b;
}
}
Comments
Leave a comment