Alibabacloud.com offers a wide variety of articles about java class naming convention, easily find your java class naming convention information here online.
class language, one of the most powerful features is freedom, there are many solutions, you can use different coding styles and technical problems, but this will be at the cost of unpredictable. Without a unified structure, JavaScript code is difficult to understand, difficult to maintain, and poorly reused.On the other hand, class-based programming is still the most popular object-oriented programming pat
The class name should be the first letter capitalized noun. The naming should be concise and descriptive. The name of the exception class should end with exception. Interface naming rules are the same as class1. The Java source file name must be the same as the
The purpose of defining the specification is to unify the code style of the project so that the program is readable.Name of package (all lowercase, defined by domain name)The Java package name is made up of lowercase words. However, due to the Java object-oriented programming feature, each Java programmer can write their own
The purpose of defining the specification is to unify the code style of the project so that the program is readable.Name of package (all lowercase, defined by domain name)The Java package name is made up of lowercase words. However, due to the Java object-oriented programming feature, each Java programmer can write their own
The purpose of defining the specification is to unify the code style of the project so that the program is readable.Name of package (all lowercase, defined by domain name)The Java package name is made up of lowercase words. However, due to the Java object-oriented programming feature, each Java programmer can write their own
[CSS] class and id naming rules-Description of Yue Qingxi. This article is a summary of the high-traffic website CSS development technology. The text is from a 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
Class and id are used to e
The purpose of defining the specification is to unify the code style of the project so that the program is readable.Name of package (all lowercase, defined by domain name)The Java package name is made up of lowercase words. However, due to the Java object-oriented programming feature, each Java programmer can write their own
class is test.com.wistrons.util.The naming rules for a test package are: Test.com.skymobi. Project name; The naming convention for testing public class packages is: Test.com.skymobi.common4. Naming conventions for variablesFirst
The purpose of defining the specification is to unify the code style of the project so that the program is readable.Name of the project (all lowercase)All lowercase, such as CMS, Workdesk,jobserver, etc.Name of package (all lowercase, defined by domain name)The Java package name is made up of lowercase words. However, due to the Java object-oriented programming feature, each
The purpose of defining the specification is to unify the code style of the project so that the program is readable.Name of package (all lowercase, defined by domain name)The Java package name is made up of lowercase words. However, due to the Java object-oriented programming feature, each Java programmer can write their own
naming method identifies the scope and type of the variable by adding the symbol of the corresponding lowercase letter before the variable name as the prefix. For example, m_lpszstr indicates a long pointer member variable pointing to a string ending with 0 characters. In object-oriented programming, the Hungarian naming method is very awkward to use.
Camel naming
1. The Java source file name must be the same as the class name of the class defined in the source file.2. the first part of the package naming package name should be a lowercase ASCII character and be one of the top-level domain names, usually com, edu, gov, mil, net, org, or a national unique flag code defined by ISO
One, Java file naming specification1. Package NameThe name must all be in English lowercase letters, prohibit the use of "underline" characters. (in addition to constants, the use of underscore characters is not recommended in Java naming conventions)Project package naming r
What is an identifieris when programmers define Java programs, some of the names that are customized. Identifiers can be applied to class names, variables, function names, and package names.Identifiers must follow the following rules
Identifiers are composed of 26 English character case (a~za~z), Number (0~9), underscore (_), and dollar sign ($).
Cannot start with a number, cannot be a keyword
St
Java Naming Conventions
With regard to the naming of various elements in Java, the purpose of defining these specifications is to make all documents in the project look like one person, increasing readability and reducing the loss of the project team due to substitutions. (These specifications do not have to b
capitalized and indicate the full meaning, for example: Final maxuploadfilesize=1024.(vi) Naming of methodsThe first word of the method name should be a verb, and the case can be mixed, but the first letter should be lowercase. Within each method name, uppercase letters separate the words and limit the use of underscores. The name of the parameter must be the same as the variable's naming
Naming classThe Java. RMI. Naming class provides storage and remote object registration services.ProgramRemote ObjectThe referenced method. The methods in the naming class are in the following format:
internal naming rules of each organization, the internal naming rule specifies the directory name and department name of each component.
Project name. Example: com. frontfree. javagroup;3: For the naming conventions in j2ee, I have seen a blog on the Internet. I have summarized the naming rules of each recipe in j2 in
Java Naming and directory interfaces are a group of APIS for accessing naming and directory services in Java applications. It provides developers with universal and unified interfaces for searching and accessing various naming and directory services. JDBC is built on the abs
Precautions before use:1, due to the Java object-oriented programming characteristics, in naming should try to select the noun2. Hump nomenclature (Camel-case): When a variable name or function name is a unique identifying word that is composed of one or more words, the first letter starts with lowercase letters, with the first letter of each word capitalized (with the exception of the word).such as: MyFirs
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.