Review Rivendell
From Huben's Wiki
Line 5: | Line 5: | ||
** Overloading constructors. | ** Overloading constructors. | ||
** The meaning of final. | ** The meaning of final. | ||
− | * Using objects as fields, arguments and local variables (Triangle project | + | * Using objects as fields, arguments and local variables ([[Solution to Triangle project]].) |
** Understanding difference between static (class) and non-static (instance) fields. | ** Understanding difference between static (class) and non-static (instance) fields. | ||
** Using static methods when you don't have an object. | ** Using static methods when you don't have an object. | ||
Line 18: | Line 18: | ||
** Relational operators. | ** Relational operators. | ||
*** Why == instead of =. | *** Why == instead of =. | ||
+ | *** Beware comparing doubles with ==. | ||
*** The other 5 relational operators. | *** The other 5 relational operators. | ||
+ | *** String methods charAt() and length(). | ||
** Boolean operators. | ** Boolean operators. | ||
*** &&, ||, !, ^ | *** &&, ||, !, ^ |