What is the output of this program?

class Literal25
{
public static void main(String[] args)
{
int i=_1_23_456;
System.out.println(i);
}
}
/*
Output:- CE[cannot find symbol]
Explanation:- From 1.7 version of java we can underscore(_) symbol in numeric literals but underscore must be in between the digits.
*/

0 comments: