Java share the next day

Source: Internet
Author: User

1 Java is a strongly typed language, and each variable must declare its type

2 Java variables are the most basic storage units in a program, including variable names, variable types and scopes

3 Declaring a variable can declare more than one line

4 Local variables: variables defined inside a method or statement block: must first be declared and initially made before use

5 variables declared in the method body (belonging to a class) are called instance variables, member variables, properties

6 in the variable before the final decoration, can only be the beginning of the first time, called: constant, usually (contract) uppercase

7 Naming conventions: variables, method names, initial lowercase and hump principles (uppercase letters between words)

Class name, initial capitalization, and hump principle (uppercase letters between words)

Java share the next day

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.