Recently, after installing Intellij Idea 2016.3.2, there was a problem when creating class objects. In this case, the third line says that the variable 'c' is not created, and throws an error, and the second line - that the variable 'c' is never used. Re-saving / restarting does not help, as if this variable does not exist in the debug mode. The rest of the classes work fine.

public static void main(String[] args) { Circle с = new Circle(-2,3,5); System.out.println(c.isInCircle(0,2)); } 

  • No more mistakes? If you hover on the red c inside the brackets, what will be written? Cannot resolve symbol ? - Peter Samokhin
  • What to do when someone answered your question - pavlofff
  • I would not close it as caused by a typo, because the problem is quite frequent. Without even checking the code, I guessed from the screenshot :) - Qwertiy

1 answer 1

I suppose that one of с Russian, and the second Latin.

  • 2
    helped, thanks! - Diana
  • @Diana, then accept the answer by clicking on the check mark to the left of it :) - Qwertiy