Q.

Which of the following statements about the try{} block in Java is false?

A. Some of the statements in a try{} block will never throw an exception.
B. The try{} block must appear before the catch{} blocks.
C. The try{} block cannot contain loops or branches.
D. The statements in a try{} block may throw several types of exception.
Answer» C. The try{} block cannot contain loops or branches.
1.2k
0
Do you find this helpful?
5

View all MCQs in

Java Programming

Discussion

No comments yet