What is the output of this program ?
What is the output of this program ?
class Literal2 { public static void main(String[] args) { int i=0786; System.out.println(i); } } /* Output:- CE[Integer number too large]...
Read more »
class Literal2 { public static void main(String[] args) { int i=0786; System.out.println(i); } } /* Output:- CE[Integer number too large]...
Read more »class Literal1 { public static void main(String[] args) { int i=012; System.out.println(i); } } /* Output:- 10 Explanation:- A decimal...
Read more »class DataType6 { public static void main(String[] args) { float f=5.5; System.out.println(f); } } /* Output:- CE[possible loss of precision]...
Read more »class CommandLineArg2 { static public void main(String[] args) { String[] alt={"X","Y","Z"}; args=alt; for(int i=0;i<args.length;i++) { System.out.println(args[i]); } } } /*...
Read more »public static void main(String args) Invalid public static void Main(String[] args) Invalid public void main(String[] args) Invalid public static int...
Read more »Copyright © 2013 What is the output of this program