Home > Back-end >  Just started to learn, this mistake don't know how to change, for bosses to give directions
Just started to learn, this mistake don't know how to change, for bosses to give directions

Time:10-23

For bosses to give some advice on the

CodePudding user response:

refer to the original poster early reply:
for bosses to give some advice on


Didn't see that sex variable

CodePudding user response:

No sex variable, it is recommended that the code back to the teacher to look again

CodePudding user response:

You write in the if statement sex sex====1 0, means that you want to judge sex value, but not to sex declaration and assignment, if could not, so an error,

CodePudding user response:

You don't have a sex variables, how do you judge

CodePudding user response:

No statement in front of the sex variable, I with small white, can learn together

CodePudding user response:

Undefined sex brother next compiler, novice to use notepad to crazy

CodePudding user response:

No statement sex variable

CodePudding user response:

Suggest next idea, don't listen to those online tutorial to use notepad, pure bullshit

CodePudding user response:

A skillful
I use this app # CSDN# found have technical content of the blog and friends to seek common to "command line Java compilation script from entry to give up", gathered together https://blog.csdn.net/Marksinoberg/article/details/104473396
Suggest using an ide, such as familiar with the back on notepad command line

CodePudding user response:

Didn't see that sex variable

CodePudding user response:

Why use notepad? Let you use notepad, get away from him!!!!!!
A man of 7 years experience in Java development told you,,,

CodePudding user response:

reference qq_16774199 reply: 3/f
you wrote in the if statement sex sex====1 0, means that you want to judge sex value, but not to sex declaration and assignment, if could not, so an error,

+ 1 to the rightness, is like this

CodePudding user response:

You this is because there is no set sex variable, it is recommended to use myeclipse, the idea of programming software, the discovery of the error like this can have obvious warning

CodePudding user response:

X variables not stated

CodePudding user response:

If someone asked you use note book to write Java, don't hesitate, turn head a slap is

CodePudding user response:

This is a notepad, and I use the same EditPlus, teachers teach, is at the beginning of this, more convenient,

CodePudding user response:

Directly in the eclipse is not sweet, free, open source, can also be an error, can also download other tools such as plug-in is quite convenient, why so original,,,

CodePudding user response:

EditPlus, the compiler is very useful, in support of the language is rich, but you have to configure the environment, add the path of the JDK to come in, can directly use the console below, and the compiler and lighter, do exercise the most appropriate, and with a command prompt window and too old

CodePudding user response:

Come and show your works
?

CodePudding user response:

  • Related