English

Evaluate the given expression when the value of a=2 and b=3 b*=a++-++b+ ++a; System.out.println("a="+a) System.out.println("b="+b); - Computer Applications

Advertisements
Advertisements

Question

Evaluate the given expression when the value of a=2 and b=3

b*=a++-++b+ ++a;
System.out.println("a="+a);
System.out.println("b="+b);
One Line Answer
Advertisements

Solution

a=4, b=6

shaalaa.com
Tokens
  Is there an error in this question or solution?
2024-2025 (March) Specimen Paper
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×