wood burning stoves*
The moose likes Cattle Drive and the fly likes spacing around identifiers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "spacing around identifiers" Watch "spacing around identifiers" New topic

spacing around identifiers

Joe McGuire
Ranch Hand

Joined: Mar 19, 2001
Posts: 293
In a recent submission, I had a line similar to the following:
private static int getNumber( int num, String str )
and received the following nitpick:
"spacing around all identifiers (including between identifier and punctuation)"
Is it correct to put a space between the identifier and the comma, like:
private static int getNumber( int num , String str ) ???
Joel Cochran
Ranch Hand

Joined: Mar 23, 2001
Posts: 301
you got it!
I'm a soldier in the NetScape Wars...

Wait a minute, I'm trying to think of something clever to say...<p>Joel
subject: spacing around identifiers
Similar Threads
Question From JQuest Mock Exam...
Another Question From JQuest Mock Exam...
dynamic arrays
for - scope (including own initializer)
multi-dimensional array question