Find the error in the following class: public class TwoValues { private int x, y; public TwoValues()

Question:

Find the error in the following class: 

public class TwoValues
{
 private int x, y;
 public TwoValues()
 {
 x = 0;
 }
 public TwoValues()
 {
 x = 0;
 y = 0;
 }
}

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

Step by Step Answer:

Question Posted: