isLetter « character « Java Data Type Q&A

1. Character.isLetter() Question

2. HELP!!!! how does Character.isLetter work? (need experts)

i really have this problem and i dont know how Character.isLetter work and can you guys please help me with this code; String num1, num2; int numa, numb, div; num1 = JOptionPane.showInputDialog("Enter first number"); num2 = JOptionPane.showInputDialog("Enter second number"); numa = Integer.parseInt(num1); numb = Integer.parseInt(num2); if(numb == 0){ JOptionPane.showMessageDialog(null,"The Answer is Undefine");} else{ div = numa / numb; JOptionPane.showMessageDialog(null,"The answer is: ...

3. Character.isLetter problem

I am trying to work with converting integers to string for the purposes of ending loops. The code below is what I am working with. The idea is that the user can input deposits until the user enters a negative value or the letter "Q". At that point the total deposits are returned to the calling procedure. The code ran fine ...

4. Character.isLetter() error on compile

Also, you would be wise to enclose all if blocks, for and while loops, try/catch blocks, etc... within curly braces even if it means that it will include only a one line statement (or perhaps especially if it only includes a one line statement). This will prevent you from making a bad mistake later on when you update your program.