What is the output of this program?

class Literal10
{
public static void main(String[] args)
{
double d=1.2e3;
System.out.println(d);
}
}
/*
Output:- 1200.0
Explanation:- We can also specify floating point literal in exponential form(scientific notation).
And this notation is also treated as double literal.

*/

0 comments: