Home > Back-end >  I beginners Java, but I don't know what's the matter, Chinese annotation will be an error,
I beginners Java, but I don't know what's the matter, Chinese annotation will be an error,

Time:09-18

I beginners Java, but I don't know what's the matter, Chinese annotation will be an error, remove is normal, please bosses how to solve,

CodePudding user response:

Error screenshots sent to have a look

CodePudding user response:

 
//comment line

/* comment */

Doc/* * comment */

CodePudding user response:

Big probability is coding problem, did you see your editor to utf-8 or GBK then run in DOS window again

CodePudding user response:

refer to the second floor is the reply of the night:
 
//comment line

/* comment */

Doc/* * comment */
where I went wrong, this is not green

CodePudding user response:

May also be a cache problem, try your code is copied to the new file

CodePudding user response:

What is the compiler tools do you use? If it is not the problem of coding, compile tools self-examination mechanism might be the problem, can go to check the lower warning level,

CodePudding user response:

You can look at the error message, you'll know why an error

CodePudding user response:

It's not green, what's wrong?
  • Related