InterviewSolution
Saved Bookmarks
| 1. |
Write a program in Java to check and display whether a number input by theor not. |
|
Answer» . STRING INPUT = ""; TRY { INT x = INTEGER. parseInt(input); // You can use this method to convert String to int, But if input //is not an int value then this will throws NumberFormat |
|