This Blog is for about all types of Java programs from basic to complex programs, just for you.
If you want source code or dry-run of any other program let me know.
Thanking you,
Keshav
Monday, November 3, 2014
Program:-DynamicInitialization
classDynInit{publicvoidDynInitTest(){double a =3.0,b=4.0;double c= Math.sqrt(a*a + b*b);
System.out.println("Hypotenuse is "+c);}}
No comments:
Post a Comment