A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
Programmer Certification (SCJP/OCPJP)
Joined: Oct 02, 2005
Dec 25, 2011 07:14:05
In the following line of code
System.out.printf ("1.0/3.0 = %5.3f %n", q);
What is does the
I saw the above example in code examples in
Joined: Sep 28, 2004
Dec 25, 2011 07:25:40
It's all explained, in the JavaDoc of the
class, which is the class that is used to format the text.
Java Threads, 3rd Edition
Jini in a Nutshell
Java Gems (contributor)
Joined: Jul 19, 2011
Dec 26, 2011 04:43:39
I think it prints a newline.
I agree. Here's the link:
subject: printf formatting
a problem with Palindromes please help..
Displaying others variables in a String
Java Recursion and binary tree searching questions
Java Questions in Interview
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015