Yurttas/PL/OOL/Java/F/04/03/01/index page

From ZCubes Wiki
Jump to navigation Jump to search
Dr. Salih Yurttas - yurttas@zcubes.com
programming languages - design principles, implementation constructs
java

  1. inheritance
    1. constructor order Constructor methods are special in every sense, in OO programming in general, and in Java programming, in particular.
      • don't put unnecessary code in any method, but especially in constructors.
      • System.out.println() is just to demonstrate the construction order, i.e., in "real life" you should never have those in your classes.
      • 01
      • 02

1 | 2 | exceptions << 4 >> ui | 6 | 7 | 8 | 9