algo - 29/09/14 !! Question of the day - 26 !! (related to - TopicsExpress



          

algo - 29/09/14 !! Question of the day - 26 !! (related to Java) Q. What will be the output? class algo { public static void main (String [] args) { System.out.println(Java); } public static void main (int [] args) { System.out.println(Programming); } } Option:- A. Java B. Java Programming C. error D. none of these ## The solution to the previous !! Question of the day - 25 !! Ans: C. int a = 30; a+=40; Explanation: int x = 10; -> simple assignment operator int a,b,c,d; a = b = c = d =20; -> chain assignment operator int a = 30; a+=40; -> compound assignment operator !! Congratulation !! Correctly answered by: #AkshayBhatawadekar & #ArthurPalm
Posted on: Mon, 29 Sep 2014 03:20:49 +0000

Trending Topics



Recently Viewed Topics




© 2015