Ask a Question
Advertise on boostr.in
variable naming conventions in java using -'java,naming-conventions,oop'
variable naming conventions in java ¬†using -'java,naming-conventions,oop'
In PHP, we (at least the good programmers) always start general variable names with a lower-case letter, but class variables/objects with an upper-case letter to distinguish them. In the same way we start general file names with a lower case letter, but files containing Classes with an upper case letter.
Are the conventions the same in java, i.e Objects starting with upper-case but the rest with lower case, or does everything start with lower case as I've read in other places?
Sep 7, 2015
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please