i would suggest its pretty much the same concept
minus the multiple returns
public boolean isSquare(Rectangle r)
{
boolean flag = false;
if(r.getLength() == r.getHeight())
{
flag = true;
Type: Posts; User: Waylander
i would suggest its pretty much the same concept
minus the multiple returns
public boolean isSquare(Rectangle r)
{
boolean flag = false;
if(r.getLength() == r.getHeight())
{
flag = true;