Basics of getting started with the Java language

Source: Internet
Author: User
  • What is a program?

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.

  • Platform Independent

Refers to the need to modify the program can be run in a different computer environment.

  • Java language Platform

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

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.