Difference between extending and importing a class

Printable View