The prefix of a unique package deal call is usually written in all-lowercase ASCII letters and have to be one of the top-level domain names, presently com, edu, gov, mil, net, org, or one of the English -letter codes identifying countries as laid out in ISO wellknown 3166, 1981.
Subsequent components of the package deal name vary in step with an enterprise's own inner naming conventions. Such conventions may specify that positive directory name additives be division, department, mission, machine, or login names.
Classes
Elegance names have to be nouns, in combined case with the first letter of every internal word capitalized. try to preserve your elegance names simple and descriptive. Use complete words-avoid acronyms and abbreviations (until the abbreviation is tons extra broadly used than the long form, which include URL or HTML).
Interfaces
Interface names ought to be capitalized like magnificence names.
Strategies
Techniques ought to be verbs, in blended case with the primary letter lowercase, with the primary letter of every internal word capitalized.
Variables
Except for variables, all instance, class, and sophistication constants are in combined case with a lowercase first letter. internal phrases begin with capital letters. Variable names have to no longer start with underscore _ or greenback signal $ characters, even though both are allowed.
Variable names have to be short but significant. the selection of a variable name need to be mnemonic- this is, designed to suggest to the informal observer the reason of its use. One-man or woman variable names must be avoided besides for transient "throwaway" variables. not unusual names for brief variables are i, j, okay, m, and n for integers; c, d, and e for characters.