What is the output of following program? class Out...
Guiding State PSC aspirants since 2016 50,000+ students · 1,000+ final selections Exam Calendar Results Call 9116926003
pscnotes
Pick your state
MPSC Prelims previous year questions

What is the output of following program? class Output { public static void main(String args[] ) { int x , y; x = 10; x++; --x; y = x++; System.out.println(x + ""+ y); } }

Asked in Mizoram PSC 5.Technical Paper-III

  1. 11 11
  2. 10 10
  3. 11 10
  4. 10 11

Answer under review: our editors are checking this question. Try the other MPSC Prelims previous year questions questions meanwhile.

More MPSC Prelims previous year questions questions

All 7,163 MPSC Prelims previous year questions questions →