The set of instructions provided to a computer to perform a particular task is the program.
- Object-oriented programming (OOP)
is a software development approach that treats the program as a set of objects that work together, objects are created in the template of the class, the classes consist of data and the required statements, and Java is a fully object-oriented programming language.
Refers to the need to modify the program can be run in a different computer environment.
Java SE (Java Platform Standard Edition), which contains the core classes of Java.
Java EE (Java Platform Enterprise Edition) for distributed network program development, such as e-commerce websites and ERP systems.
- Java Coding Specification
The first letter of the class name should be capitalized, followed by Pascal's nomenclature.
Method name first letter lowercase, follow the hump naming method.
Identifiers are only able to use "letters", "Numbers", "_", "$", and cannot start with a number, nor can they use the Java keyword.
- Java Annotation Specification
Multi-line comments: Mainly used to describe files, classes, methods, algorithms and so on. Generally used in front of documents and methods.
Single-line Comment
Basics of getting started with the Java language