Java   View all facts   Glossary   Help
principle > rule
Next principlecode layout principle    Upprinciple    Previous principleno-duplication principle   

rule comparison table
Subject states is an instance of is a kind of be is a subtopic of
isa rulethat class A can only be a valid subclass of class B if it makes sense, in English, to say, "an A is a B"rule  Inheritance
order of operator precedence  ruleOperators at the top take precedence over operators lower in the table. At the same level of the table, operators are evaluated from left to right.
operatorscomments
() []Anything in parentheses, including array indexing, is evaluated first
++ -- !Unary operators
* / %Multiplicative operators
+ -Additive binary operators
> >= < <=Relational comparison operators
== !=Identity comparison operators
&&Logical AND
\Logical OR
?:Ternary if-then-else
= += *= -= /=Assignment
Operators

Next principlecode layout principle    Upprinciple    Previous principleno-duplication principle