Object Oriented Software Engineering View all facts Glossary Help |
| subject > programming language construct > operator > Java operator |
| Java operator comparison table | |||||||||
| Subject | shorten | have purpose | compute | is a subtopic of | is a kind of | return | have form | is an instance of | indicate |
|---|---|---|---|---|---|---|---|---|---|
| = | The Basics of Java | Java operator | assignment | ||||||
| ?: | code but can also make code harder to understand | to execute one of two alternative expressions, depending on the value of a condition | The Basics of Java | result = (condition) ? doSomething() : doSomethingElse();If condition is true, then result is set to the expression following the question mark, otherwise result is set to the expression following the colon | Java operator | ||||
| Java arithmetic operator | The Basics of Java | Java operator | |||||||
| Java identity comparison operator | The Basics of Java | Java operator | |||||||
| Java logical operator | The Basics of Java | Java operator | a boolean | ||||||
| Java relational comparison operator | The Basics of Java | Java operator | |||||||
| Java special operator | to shorten certain expressions | The Basics of Java | Java operator | ||||||
| new | to create new objects | Java operator | |||||||
| short circuit operator | right hand side of an expression if the left hand side is not true | The Basics of Java | Java operator |
Up: operator