title: imports and extends
body: <p>can any one explain 
  " While we are importing a package we can use its all public functions, 
    Then what is the use of extending a class ?"
  " I m studying OOP Langusges for 3 years and i didnt get ans to this question "</p>