Talk:Java Training Course/JT06

From tehowiki
Revision as of 07:23, 25 September 2017 by imported>Gfis (Created page with "The implementation of class ''Rational'' shows many essential features of the Java language: * the difference between <code>static</code> and member methods and properties, *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The implementation of class Rational shows many essential features of the Java language:

  • the difference between static and member methods and properties,
  • the conditional expression operator condition ? true-value : false-value,
  • this, the reference to the current object