SHARE
TWEET

java ques 59

Dprogrammed1 Mar 28th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  class comma_operator
  2.     {
  3.         public static void main(String args[])
  4.         {    
  5.              int sum = 0;
  6.              for (int i = 0, j = 0; i < 5 & j < 5; ++i, j = i + 1)
  7.                  sum += i;
  8.          System.out.println(sum);
  9.         }
  10.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top