Find the error in the following class: public class FindTheError { public int square(int number) { return

Question:

Find the error in the following class: 

public class FindTheError
{
 public int square(int number)
 {
 return number * number;
 }
 public double square(int number)
 {
 return number * number;
 }
}

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: