Object-oriented programming in Java.
Various objects consist of certain common amount with each other. Tandem bikes, mountain bikes and road bikes etc share the common bicycle characteristics (current gear, current speed, and current pedal cadence). Yet, additional features are defined byeach which will make them a bit different: Road cycles consist of handlebars; tandem bicycles consist of 2 handlebar sets & 2 seats; mountain bikes have an extra chain ring that provides low gear ratio to them.
Object oriented programming