Class name convention in java -
what naming convention of classes in java, example should classes in upper case myclass.java ?
as classes com.sun.org.apache.bcel.internal.generic. anewarray. can found in sun's library well
note: have read naming convention oracle not find says should name class uppercase.
class names should in camelcase. try use nouns because class representing in real world.
the documentation states following:
class names should nouns, in mixed case first letter of each internal word capitalized. try keep class names simple , descriptive. use whole words-avoid acronyms , abbreviations (unless abbreviation more used long form, such url or html).
Comments
Post a Comment