my dog learned polymorphism*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Doubt in a practise question" Watch "Doubt in a practise question" New topic
Author

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
Rancher

Joined: Aug 05, 2005
Posts: 3429
    
  12
This should help.


Joanne
 
 
subject: Doubt in a practise question
 
Similar Threads
Please explain the output of this: This question is from ExamLabs Diagnostic Test
Whizlabs PracticeIII Q4 Wrong?
Split Method in String Class
What is the output of printf?
Implict Cast Narrowing Doubts