Multiple Choice
Which of the following code fragments are illegal?
A) try {
Try
{
//other code here
}
Catchint e)
{
//code here
}
}
Catchfloat e)
{
//code here
}
B) try {
//code here
}
Catchint e)
{
//code here
Try
{
//code here
}
Catchstring e)
{
}
}
C) All of the above
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q37: Which of the following would be a
Q38: In a try block, the throw statement
Q39: The catch block is the group of
Q40: A catch block that expects an integer
Q41: The block of code that handles an
Q42: You should use exception handling<br>A) in all
Q43: Exception handling is used to _.
Q44: The braces are not necessary on a
Q46: If a function will possibly throw an
Q47: Functions may potentially throw at most one