", "<", ">=", " <=", "==", "!="; 4. Logical operators, "&", "&&", "|", "||", "!"; 5. Conditional operators, "?: "; 6. Bit operators, "&", "|", etc."/> ", "<", ">=", " <=", "==", "!="; 4. Logical operators, "&", "&&", "|", "||", "!"; 5. Conditional operators, "?: "; 6. Bit operators, "&", "|", etc.">

Home  >  Article  >  What are the classifications of java operators?

What are the classifications of java operators?

zbt
zbtOriginal
2023-06-16 13:04:362039browse

There are six types of Java operators, namely: 1. Arithmetic operators, " ", "-", "*", "/", "%", " ", "--"; 2 , Assignment operators, "=", "=", "-=", "*=", "/=", " "; 3. Comparison operators, ">", " =”, “

What are the classifications of java operators?

The operating environment of this tutorial: 1. Windows 10 system, Java 20 version, DELL G3 computer.

Java operators are divided into six major categories: arithmetic operators, assignment operators, comparison operators, logical operators, conditional (ternary) operators, bitwise operators

1. Arithmetic Operators: (addition), -(subtraction), *(multiplication), /(division),%(remainder), (auto-increment), --(auto-decrement)

2. Assignment operators :=(equal to), =(increment by one time is equal to), -=(decrement by self once is equal to), *=(multiply by self once is equal to),/=(divide by self once is equal to), (string concatenator)

3. Comparison operators: > (greater than), = (greater than or equal to),

The return result is only: true or false

4. Logical operators: & (bitwise AND), && (short-circuit AND), | (bitwise OR), || (short-circuit OR ),!(Not, that is, negation)

5. Conditional (ternary, ternary) operators:?:

6. Bit operators (all based on binary calculations) : & (bitwise AND), | (bitwise OR), ^ (exclusive OR operation), > (right shift operator), >>> (Unsigned operator), ~ (not, negate operator)

Just need to know about bit operators

Note: Integer defaults to int type

1. Arithmetic operators: (addition), - (subtraction), * (multiplication), / (division), % (remainder), (auto-increment), -- (auto-decrement)

1.

What are the classifications of java operators?

What are the classifications of java operators?

twenty three .*

What are the classifications of java operators?

What are the classifications of java operators?

4./

Note: The integer defaults to int type, and must be accurate to the value after the decimal point To cast What are the classifications of java operators?

What are the classifications of java operators?

##5.%

What are the classifications of java operators?

What are the classifications of java operators?

6.

It is divided into two types: i (first self-added and then output) and i (first self-added and then self-added, commonly used). The general explanation is that whoever is in front will be output first.

What are the classifications of java operators?

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

Statement:
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