Home / MCQ Bank / Computer
Computer Data Types And Variables

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); } }

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • all of the mentioned

Related Computer Questions

It is used to explorer the contents of computer, drives as well as manage files What type of methods an interface contain by default? What is the best case time complexity of deleting a node in a Singly Linked list? What is the worst case time complexity of cube sort? Which of the following declaration will result in run-time error?