mukul chakravarty

mukul chakravarty

  • NA
  • 25
  • 30.9k

C sharp reference variables..

May 27 2013 2:49 PM

Suppose I have a Base class "Computers" and a derived class "Laptops" derived from the "Computers" class.

Now WHAT is the meaning of the following declaration ?? WHEN is it used ?? and HOW is it useful??


Computers C=new Laptops();

 


Answers (4)