"static public" or "public static"

  • Thread starter Thread starter Alain Dekker
  • Start date Start date
A

Alain Dekker

Which is the recommended order? Same goes for "private".

Am I right in thinking it makes no difference, BTW?

Thanks,
Alain
 
Which is the recommended order? Same goes for "private".

Am I right in thinking it makes no difference, BTW?

No functional difference.

I think the most usual is to specify visibility (public,
private etc.) first.

Arne
 
Thanks. I agree that it makes more sense to declare visibility first, so
have chosen that way as standard.
Alain
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top