File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Doubt in a practise question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Doubt in a practise question" Watch "Doubt in a practise question" New topic

Doubt in a practise question

ayush raj
Ranch Hand

Joined: Jan 15, 2012
Posts: 60
What is the output of the following line :

Answer given was :"1213%1$s"

Please explain me how to arrive at the solution??
Joanne Neal

Joined: Aug 05, 2005
Posts: 3742
This should help.

I agree. Here's the link:
subject: Doubt in a practise question
It's not a secret anymore!