>:Hello, when i have return in a void method, why doesn't i get a syntax error
>:here only becoz its the main method?
[quoted text clipped - 7 lines]
>:
>:danny
You're allowed to use return in any method. It's only invalid syntax if
you attempt to return a value from a void method, or a value of the
wrong type from some other method. As you've coded it there, it simply
exits from the method without executing any code which might follow,
whereas the println would be followed by that other code.
= Steve =

Signature
Steve W. Jackson
Montgomery, Alabama