Object Orientated Programming: Week 8

Banner

Java programming

LEARNING OBJECTIVES


This week we are going to look at:

1. Introducing INHERITANCE
2. Explaining POLYMORPHISM
3. Introducing CLASS DIAGRAMS

Java

Powerpoint: Inheritance and Polymorphism

Powerpoint: Downloading Java

Powerpoint: Class Diagrams
 (examples)

C Java and Python

Total running time of videos is 0 minutes.

Complier:
https://www.jdoodle.com/online-java-compiler/

Sample Code:

 Inheritance: Animal.java; Car.java;
 Polymorphism: Animal.java; Multiply.java;





Inheritance & Polymorphism - Java Programming Tutorial



How to Install Java




Links

Lab #8
Lab #8 is all about checking if we can make inheritance work.




Back

If you have any suggestions, corrections, or comments, please feel free to e-mail me at:
Damian.X.Gordon(a)tudublin.ie