Java
T
point
Home
Python
Java
JavaScript
HTML
SQL
PHP
C#
C++
DS
Aptitude
Reasoning
Selenium
DBMS
C
Android
Interview Q
Content Menu ▼
1
2
3
4
5
6
7
8
9
10
Question 1
:
Following code will result in: float num = 5/0;
1.
Compilation error: Divisions must be in a try block
2.
Compilation error: DivideByZeroException
3.
Runtime Exception
4.
No Error: a is NaN