B
Q. What will be the output of the following Java statement? class output { public static void main(String args[]) { double a, b,c; a = 3.0/0; b = 0/4.0; c=0/0.0; System.out.println(a); System.out.println(b); System.out.println(c); } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. In Java, can a method declare both "throws" and "throw" statements?
Q. What is the output of the below Java program with SWITCH and Strings?
Q. First public implementation of java was
Q. In Java, what is the purpose of the "super" keyword in a constructor?
Q. Which package is used for Remote Method Invocation (RMI)?
Discusssion
Login to discuss.