Talk:Java Training Course/JT06
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