Naming ConventionsΒΆ
Java has some very handy naming conventions.
Class names always start with an upper case letter. For example,
Scanner,System,HelloMethod names always start with a lower case letter, and use camelCase to represent multiword method names. for example
nextInt()Instance variables of a class start with a lower case letter and use camelCase
Constants are in all upper case letters. for example
Math.MAXINT
You have attempted of activities on this page