15,067
edits
| Line 44: | Line 44: | ||
== troubleshooting steps of function == | == troubleshooting steps of function == | ||
simply the question | simply the question | ||
* disable the logical | * Enter the function or not really? | ||
* disable the logical judgement and just print text | |||
* check the if-else condition was satisfied or not cf: [http://www.leepoint.net/notes-java/data/strings/12stringcomparison.html Java: String Comparison] It's logical (compiler will not show the warning) but wrong. | * check the if-else condition was satisfied or not cf: [http://www.leepoint.net/notes-java/data/strings/12stringcomparison.html Java: String Comparison] It's logical (compiler will not show the warning) but wrong. | ||