Programação Orientada a Objetos

Base Knowledge

Having attended the curricular unit Programming Fundamentals 

Teaching Methodologies

The following teaching methodologies are used in this curricular unit:
– Expository method: an explanatory method were theoretical foundations and concepts are presented by the teacher and discussed with the class, followed by demonstrative examples;
– Experimental method: an active method were the student develops the knowledge through the use of problem solving and project development.

Learning Results

It is expected that by the end of the course each student is entitled to:
– Know the basic concepts of Object Oriented Programming (OOP): objects, classes, polymorphism, inheritance;
– Model and manage static and dynamic data structures (tables, vectors, hash tables and java collections);
– Interact with persistent storage: files (binary, text and object files);
– Be able to structure, develop, run, and test programs using Java language.

Program

Introduction to Java language
– Primitive types
– Arrays of primitive types
– Operators
– Execution control instructions

Classes
– Objects and references
– The Garbage Collector
– Constructors
– The keyword this
– Constructors that call constructors
– Static members
– Overloaded methods
– Arrays of objects
– Inner and nested classes

Packages
– Components organization
– Access modifiers

Composition and inheritance
– Composition
– Inheritance
– Choose between composition and derivation
– The super keyword
– The final keyword

Polymorphism
– Upcasting
– Object class
– Abstract classes
– Interfaces

Collections
– Interfaces derived from Collection
– Some concrete implementations

Exceptions

Files

Curricular Unit Teachers

Álvaro Nuno Ferreira Silva Santos

Internship(s)

NAO

Bibliography

Martins, F. M. (2017). Java 8: POO + construções funcionais. FCA. ISBN 9789727228386

Jesus, C. (2013). Curso prático de Java. FCA. ISBN 9789727227501

Martins, F. M. (2014). Projectos de POO em Java. FCA. ISBN 9789727227921

Flanagan, D. (2014). Java in a nutshell: A desktop quick reference (6.ª ed.). O’Reilly. ISBN 1449370829