Exception Handling
© examsiri.com
Question : 6 of 24
Marks:
+1,
-0
Given:
What is the result?
1. Float pi = new Float(3.14f);
2. if (pi > 3) {
3.   System.out.print("pi is bigger than 3. ");
4. }
5. else {
6.   System.out.print("pi is not bigger than 3. ");
7. }
8. finally {
9.   System.out.println("Have a nice day.");
10. }What is the result?
Go to Question: