How to resolve MissingFormatArgumentException.
java.util.MissingFormatArgumentException: Format specifier 's'
The passed in arguments should match with number of %s in String.format() method.
String.format("My name %s and my city %s","P"); Throws Exception
String.format("My name %s and my city %s","Java", "JavaCity");
Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training from India . Nowadays Java has tons of job opportunities on various vertical industry.
Post a Comment