More in formation on formatting can be found @ http://www.java2s.com/Tutorial/Java/0120__Development/UsingJavasprintfMethod.htm
Quite helpful .. Thanks, Ashok A V On Thu, Jul 30, 2009 at 6:42 AM, Lucas Rhodes<[email protected]> wrote: > %s is called a format specifier. Look for a description of that in whatever > book you're using. You could also google it, along with the word "java", > although I'm pretty certain that the different kinds of format specifiers > are identical in java/C/C++. > > BTW everyone, my name is Lucas. I'm following along with the class now, > though I don't think I'll formally be taking/turning in assignments etc. My > college classes start up again in a few weeks so time is a big factor for > me. I'm studying web development. I was majoring in computer science, but > switched because the higher math classes were too difficult for me to do > very well in. > >> Date: Wed, 29 Jul 2009 13:38:04 -0700 >> Subject: [java programming] Re: Lab1007 >> From: [email protected] >> To: [email protected] >> >> >> >> >> On Jul 29, 7:47 pm, JKid314159 <[email protected]> wrote: >> > Dear Java Programmer: >> > >> > I am unsure what the character "%s" is. I could not find an explanation >> > in my search. I would appreciate your feedback. Thanks. >> > >> > System.out.printf("Caught runtime exception = %s", e); >> See class Formatter. >> > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
