Class recognition problem in Eclipse

Asked

Viewed 68 times

0

There’s a problem in my project that’s supposed to be the main class .

esse problema

  • the error is in that part string args[] args is not a vector, Voce can change to string[] args or only string args

1 answer

1

I regret to be a week in trouble for a typo, including the error message clearly shows that the method writes in lowercase main(). I can’t guarantee that it’s the only problem in the code, but this one is easy to solve, it even has very sophisticated things in the code, and these are things that only very advanced programmers should mess with.

As there is typo in the text of the question also my suggestion is always be aware of this, it may occur several times.

Note that Eclipse is only the sender of the message, it has nothing to do with your problem, this is a problem in your code being compiled by Java, so this is the subject of your problem and not the IDE. I suggest reading What is a programming language, IDE and compiler? to better understand the role of each thing.

  • Thank you so much I’ll take your advice

  • @nikolasBinottiAlves see how best to say thank you on the [tour].

Browser other questions tagged

You are not signed in. Login or sign up in order to post.