Identifiers and Java data types

Source: Internet
Author: User

identifiers: the identifier (IDentifier) refers to a symbol used to identify an entity. There are different meanings in different application environments.
In daily life, the identifier is used to designate something, a person, to use it, his or her name; In mathematics, we often use variables or function names such as those used in programming languages, and names for variables, constants, functions, and statement blocks. ; We all call it identifiers.
Identifiers may be words, numbers, letters, symbols, or they may be made up of the above elements.

definition :

In programming languages, identifiers are words that the programmer himself prescribes, such as class names, attribute names, variable names, and so on.

Java Identifier Considerations:

1. Identifiers consist of letters, numbers, underscores "_", dollar Sign "$", and the first character cannot be a number.
2. Java keywords and reserved words cannot be identified as identifiers.
3. Identifiers do not have a length limit.
4. Identifiers are case sensitive.

Identifiers and Java data types

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.