In general what is a class?
What are objects?

What is an instance variables and methods?

What is the difference between a class and a record?

In general what is an ADT?


In general what is the idea of messaging?

In general what are methods?

In general what do classes do and what is their general relationship?

What do classes define?

What can subclasses do to any of the methods of it’s superclass?
use, modify, replace
In terms of objects, what is a component?
One object contains another
In general how are the structures of classes viewed?

If an object is sent a message, which object/class runs the method?

In general, what is binding?

In general, what is dynamic binding?
What is static binding
Dynamic = happens at run time
Static = happens at compile time
Dynamic binding is basically how a superclass works, a superclass can contain any intance of that class or any other class that is a descendant

Explain if the following lines of code are legal and why.
s.giveInterest();
a=s;
Test.aMethod(s);
boolean x = a.validate(); x = s.validate();
a.giveInterest();
s = (SavingsAccount) a;


In the code below(blue) why is this unsafe and what is the proper way?

What is Method-message mapping?
