summarize 2fev16 filipe

16
summarizer 2 feb 2016

Upload: filipe-jorge

Post on 13-Apr-2017

42 views

Category:

Documents


0 download

TRANSCRIPT

summarizer 2 feb 2016

Class reference;

nullsometimes?

Class reference;new Instance;

its a operator

Class reference = new Instance();point create

re-points (assign)

Polymorphism

Polymorphism

Abstract classes

simply a class that can’t be instantiated.

useful if you want to create a base structure for objects.

Abstract methods

methods defined, with a signature

but not implemented.

a class with a abstract method must be defined as abstract.

why? can’t remember…

The big O(bject)In the beginning was the Object, and the Object was with God,

and the Object was God.

operatorinstanceof

checks if a reference points to a class

o Class

finallyCar Crash!

hours later…we managed

to move them!

Filipe Jorge