Question: What is the output of the code? String s = new String(5); int a = 4; int b = 5; String st = a++ +
What is the output of the code?
String s = new String("5"); int a = 4; int b = 5; String st = a++ + --b + s + a-- + ++b; System.out.println (st + + a + b);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
