0

Can you xplain y the following pgm has no output??? ASAP

Public class test { Public static void main (String args []) { Int i=1; do while(i<1) System.out.println("i is" +i); While (i>1); } }

17th Aug 2017, 10:20 AM
Yajiv
Yajiv - avatar
3 Réponses
+ 7
simple syntax errors here is the corrected code public class test { public static void main (String args []) { int i=1; do { System.out.println("i is" +i); }while (i>1); }}
17th Aug 2017, 10:34 AM
Kamil
Kamil - avatar
0
👌👌
17th Aug 2017, 10:55 AM
Yajiv
Yajiv - avatar