Yurttas/PL/OOL/Java/F/04/02/a.html

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

  1. inheritance {| border="1" cellpadding="4"

|+ align="bottom" |access modifiers for class members |- ! rowspan="2" colspan="1" | modifier ! colspan="4" align="center" | units |- ! application ! package ! class ! subclass |- align="center" ! align="left" | default | | + | + | |- align="center" ! align="left" | public | + | + | + | + |- align="center" ! align="left" | protected | | + | + | + |- align="center" ! align="left" | private | | | + | |}


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