This week's book giveaway is in the
We're giving away four copies of
Arduino in Action
and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
Joined: Feb 15, 2008
Mar 16, 2008 19:09:00
what's meant by insert a linebreak - is that just inserting a blank line like this System.out.println(); ??
Joined: Jan 19, 2001
Mar 16, 2008 19:49:00
"Insert a line break" means you've come to the end of a line and you want to start a new one.
Why not give it a try... what do you see when you use the methods System.out.print or System.out.println ?
Oh, I almost forgot: welcome to JavaRanch and the Cattle Drive!
[ March 16, 2008: Message edited by: Pauline McNamara ]
Marilyn de Queiroz
Joined: Jul 22, 2000
Mar 17, 2008 01:02:00
A "line break" means that you stop printing on the same line and go to the next line. Usually the next line is not blank, although it can be.
gives you a different result (no line break) than
(a break at the end of each printed line)??
Notice how "line break" is used in context in the
write data out
[ March 17, 2008: Message edited by: Marilyn de Queiroz ]
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: break statement
Approach for "Say", part a
Game on SQL
JSP and Access
XML, flat files to database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013