Java Output Formatting

  • + 0 comments

    Why \n and %n both works for this program ? Can you give an example which helps to understand the difference between them ?