A
Q. What will be the output of the following Java program?
class dynamic_initialization
{
public static void main(String args[])
{
double a, b;
a = 3.0;
b = 4.0;
double c = Math.sqrt(a * a + b * b);
System.out.println(c);
}
}
- Correct Answer - Option(A)
- Views: 8
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.