Skip to content
georf edited this page Jan 23, 2012 · 2 revisions

Diese Seite ist nur eine Gedankensammlung.

Messbare Größen:

  • D-Mark
  • Kontostand
  • Zwerge
  • Respekt
  • Stufe
  • Fleißpunkte
  • Spezialpunkte

Datentypen: Boolean (bool), Integer (int)

Vorrangregeln

  1. !
  2. *,/,%
  3. +,-
  4. <,<=,>,>=
  5. ==,!=
  6. &&
  7. ||

Folgendes wäre also gleichwertig:

!TRUE && 1 * 2 + 5 * 8 + 5 > 4 || FALSE
((!TRUE) && (((1*2) + ((5*8)+5)) > 4) || FALSE)

http://www.cs.princeton.edu/~appel/modern/java/JLex/

Clone this wiki locally