19 lines
347 B
Java
19 lines
347 B
Java
public class FloatingDecimalTest
|
|
{
|
|
public static void main(String args[]) {
|
|
/*
|
|
try {
|
|
*/
|
|
double d = 1.0;
|
|
String result;
|
|
result = "Double is " +d + " and kicking";
|
|
System.out.println("PASSED: "+result);
|
|
/*
|
|
}
|
|
catch (Exception e)
|
|
{
|
|
System.out.println("FAILED: exception " + e.toString());
|
|
}
|
|
*/
|
|
}
|
|
}
|