Java View all facts Glossary Help |
| principle > rule |
| rule comparison table | |||||
| Subject | states | is an instance of | is a kind of | be | is a subtopic of | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| isa rule | that 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 | rule | Operators 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.
| Operators |
Next principle: code layout principle Up: principle Previous principle: no-duplication principle