Fun progzz

Observe the following coding in Java and find the output:-

     int i;
    for(i=1;i<=5;i++);
    System.out.println(i);

log on to comprogzz.in for more Java coding

5 0 6 Error!!

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Hasmik Garyaka
Oct 3, 2017

Cycle has no operators. On exit i=6

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...