Magazine
 
Quick Review:JavaFX
 

Working with JavaFX Classes and Objects

 
Operator Precedence
Priority JavaFX Script Programming Language Operator Operation Java Programming Language Operator Order of Evaluation
1 function() () JavaFX function An expression in brackets function() Class n/a
  new Instantiate a new object   Class
  {Object literal} Instantiate and initialize a new object   Class
2 ++ (suffixed) Post-increment assign ++ Right to Left
  — (suffixed) Post-decrement assign  
3 ++ (prefixed) Pre-increment assign ++ Right to Left
  — (prefixed) Pre-decrement assign  
  not Logical negation <> Boolean
  sizeof Size of a sequence   Sequence
  reverse Reverse of a sequence    
  indexof Index of a sequence element    
  —> tween    
4 * Multiplication * Left to Right
  / Division /  
  mod Remainder %  
5 + Addition + Left to Right
  - Subtraction -  
6 == Equality == Left to Right
  != Inequality !=  
  < Less than <  
  <=l Less than or equal <=  
  > Greater than >  
  => Greater than or equal to =>  
7 instanceof Type checking Instanceof Class
  as Cast   Class
8 or Logical OR || Right to Left
9 and Logical AND && Right to Left
10 += Add and assign +=  
  -= Subtract and assign -+  
  *= Multiply and assign *=  
  /= Divide and assign /=  
  %= Remainder and assign %=  
11 = Assignment =  

Aug   2008 | Java Jazz Up |23
 
previous
index
next
 
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,

30
, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,

58, 59, 60, 61, 62, 63 Download PDF