SHARE
TWEET

java ques 58

Dprogrammed1 Mar 28th, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  class selection_statements
  2.     {
  3.         public static void main(String args[])
  4.         {
  5.             int var1 = 5;
  6.             int var2 = 6;
  7.             if ((var2 = 1) == var1)
  8.                 System.out.print(var2);
  9.             else
  10.                 System.out.print(++var2);
  11.         }
  12.     }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top