Java program is simply the most understandable by all, and if you want to make your application easily distributable, it is necessary to adopt some standard rules of naming.
The classes and interfaces:
Class names match the names of their files. Java. On writing classes with lowercase first letter of each word within the class name in capital letters. Here, for example, class Macle be registered under the name MaClasse.java
Code:
public class Macle
(
/ / code
)
Attributes:
It adopts the following rule: the names of attributes are written in lowercase. Each first letter of a word written in capital letters, except for the first word. In practice, it shows the following:
monAttribut public type;
Bookmarks