Alibabacloud.com offers a wide variety of articles about java class naming convention, easily find your java class naming convention information here online.
C ++ programming naming convention
0
Preface
Based on years of work experience and other naming rules, my personal experience is more standard and is now applied to my development team.
1
Naming rules The file name, function name, and variable name should be descriptive and should not be excessively abbreviate
There are some attributes in JavaBean, and today I wrote a small example of a JSP. The attribute naming specification in the Bean is mistaken, specifically the first letter of the attribute is capitalized.The JSP always reads the attribute in error.Javax.el.PropertyNotFoundException:The class ' ClassName ' does not has the property ' PropertyName '.Grandma's got a half-day thought it was the spring framewor
The general international naming convention for viruses is prefix + virus name + suffix. The prefix indicates the operating platform or virus type of the virus. The DOS virus generally has no prefix. The virus name is the name of the virus and its family. The suffix is generally unavailable, the difference between the virus family and the virus can be a letter or a number to indicate the virus size.For exam
during the premake operation. lua files are loaded, and they need to be loaded into an independent table (through setfenv) to avoid name conflicts between libraries and dependencies, therefore, we need to introduce these functions loaded into the independent table into the global table [2], for example:
_ G['Functionname'] = NS. use_boost_thread ()
The problem is that users can define many functions in their use. Lua. You need to know which function should be imported to the global table-the
1. Package Name: Package name is usually lowercase English letter2. Class Name: Capitalize the first letter of the word3. Variable Name:1) identifiers consist of letters, numbers, underscores "_", dollar Sign "$" or the renminbi symbol "¥", and the initial letter cannot be a number.2) Keywords and reserved words cannot be identified as identifiers.3) identifiers do not have a length limit.4) The identifier is case sensitive.4, Method name: First word
I. Class naming rules1. entity layer:Inheritance relationship: All classes are inherited from basicentity. Among them, basicentity implements the java. Io. serializable interface;Naming rules: class name = Object + class suffix, w
uses this constant to specify that the package as the root package for the search action is the default value of Action,actions,struts,strtus2Specifies that the action from the root package of the action is forbidden. The default value is FalseAssuming that the constant is specified, convention only searches for the action class from the package that starts with that constant value.Specifies the package ex
[CSS] class and id naming rules, cssclass naming rules
Description: This article is a summary of the high-traffic website CSS development technology. The text is from the book.
Good Book, recommended reading and learning
You can also refer to the blog on the Internet
Original: BingoLink: http://blog.bingo929.com/css-coding-semantic-naming.html
TableView:1. Create a tableFirst build the basic skeleton of the table:TableView table = new TableView ();TableColumn Firstnamecol = new TableColumn ("First name"); "First Name" is the title of this tablecolumn.TableColumn Lastnamecol = new TableColumn ("Last Name"); "Last Name" is the title of this tablecolumn.Table.getcolumns (). AddAll (Firstnamecol, Lastnamecol); TableColumn "package" into tableThen set the data type of each column table:The following two lines initialize the data type of e
Java Naming rules (simple), java Naming
1. Package
All lowercase letters, with the prefix defined by the domain name.
Example: teach. golddrem. javagroup
2. Class
Start with an uppercase letter, followed by an uppercase letter. If there is an abbreviation, all the abbre
The name of the AVA package is made up of lowercase words. However, due to the Java object-oriented programming feature, each Java programmer can write their own Java package, in order to guarantee the uniqueness of each Java package naming, in the latest
Java in Android DevelopmentNaming rule package The Java package name is composed of lowercase words. However, due to the characteristics of Java object-oriented programming, every Java programmer can write their own Java packages. To ensure the uniqueness of each
Java package names are composed of lowercase words, the class name is capitalized, and the path of the package conforms to the definition of the developed system module, such as production to production, material to material, base class to basic class. In order to see the package name to understand which module, so dir
1. Naming rules:Here to draw on the other people's information, more comprehensive, easy to understand learning.
The Java source file name of the Java source must be the same as the class name of the class defined in the source file.
The first part of the packag
Java variable naming convention]
Java is a case-sensitive language that distinguishes letters. The following describes the naming rules for packages, classes, and variables in Java.(1)Package)Name: the package name isA
code for 40 Web sites designed by developers who promote standardized web design concepts. Although the class and ID names are not uniform, some common names that appear frequently are found. Here is a list of examples of the most common class/id names:
Header
Content
Nav
Sidebar
Footer
If you want to see the full list, look at the most common naming
Java Naming conventions: some details
any language is used to communicate, has its own set of writing standards, Java is no exception. There are several benefits to focusing on these details:
A good naming convention makes it easier for people to understand an
, $ symbols2), cannot start with a number3), name cannot use keywords in java.4), not to be allowed to appear in Chinese and pinyin naming.Name of the project name (all lowercase) package (all lowercase, defined by the domain name)The Java package name is made up of lowercase words. However, due to the Java object-oriented programming feature, each
applications.
1. Jndi namespaces
Obviously, the prerequisite for applying access to resources is that the required resources must first be found through Jndi naming, and the Jndi naming must conform to a uniform naming convention. To differentiate the scope of Jndi naming,
Naming of the packageThe package name should be made up of a lowercase word.Name of ClassClass names must be made up of uppercase letters and other lowercase words.Name of Class variableThe name of the variable must begin with a lowercase letter. The following words start with capital letters.Name of the Static Final variableThe name of the Static Final variable should be capitalized and indicate the full m
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.