need help fixing an "illegal character 'u\600b'" error in Java -


i getting "illegal character '\u600b' in return statement following code:

public static int getnum() {     scanner in = new scanner(system.in);     int number;     boolean goodinput = true;         {         goodinput = true;         try {             system.out.print("please enter positive number: "); // prompts user             number = integer.parseint(in.nextline()); // tries make next input number         } catch (exception e) { // if breaks             system.out.println("the number entered invalid."); // tells user wrong             goodinput = false; // , runs loop again         }         if(number <= 0) { // makes sure number entered valid             system.out.println("the number entered invalid.");             goodinput = false; // or re runs loop         }     }while (!goodinput)      ​return number;  } 

any 1 know how fix this?

in looking @ markdown source of post, found stray non-printable character right before return. need delete entire line , retype (or delete character itself).

if place cursor between r , e, , press <- few times, see cursor not move 1 of times.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -