Home > Java > Javagetting Started > What does java $ represent?

What does java $ represent?

爱喝马黛茶的安东尼
Release: 2019-11-11 15:08:23
Original
4462 people have browsed it

What does java $ represent?

$ conforms to the naming convention. You can understand it as a special letter, somewhat similar to an underscore.

For example:

int $a$ = 10;
for (int i$ = 0; i$ < $a$; ++i$)
Copy after login

is generally code automatically generated by some machines. Add $ to show the distinction. It also helps to prevent variable names from being repeated; it is highly, very strongly not recommended to do this when writing code manually. .

php Chinese website, a large number of free Java introductory tutorials, welcome to learn online!

The above is the detailed content of What does java $ represent?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
Install JAVA
From 1970-01-01 08:00:00
0
0
0
Unable to install java
From 1970-01-01 08:00:00
0
0
0
Can java be used as the backend of the web?
From 1970-01-01 08:00:00
0
0
0
Is this in Java language?
From 1970-01-01 08:00:00
0
0
0
Help: JAVA encrypted data PHP decryption
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template