What will the following code display?
```
String input = "99#7";
int number;
try
{
number = Integer.parseInt(input);
}
catch(NumberFormatException ex)
{
number = 0;
}
catch(RuntimeException ex)
{
number = 1;
}
catch(Exception ex)
{
number = -1;
}
System.out.println(number);
```
a. -1 b. 0 c. 1 d. 99
b. 0
You might also like to view...
The port number at which the server waits for connections is often called the __________ point.
a. handhold. b. handshake. c. handoff. d. handle.
Which of the following is NOT a way to remove an unwanted animation?
A) Click the unwanted item on the Animation Pane, click the drop-down arrow, and click Remove. B) Click the unwanted item on the Animation Pane and press Backspace. C) Click the unwanted item on the Animation Pane and press Delete. D) Right-click the unwanted item on the Animation Pane and click Remove.
Add-on Manager is a tool in Internet Explorer for managing files downloaded from websites
Indicate whether the statement is true or false
Yahoo! offers more than a search engine and ____.
A. Web 2.0 site B. site C. directory D. application