Java OOP Examples

https://www.ntu.edu.sg/home/ehchua/programming/java/J3a_OOPBasics.html