GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  DotNet

 Print  |  
Question:  Can implement same method name in both baseclass And derived class with different action?



October 10, 2005 08:05:29 #1
 srilatha   Member Since: Visitor    Total Comments: N/A 

RE: Can implement same method name in both baseclass A...
 

method overloading is possible.

suppose baseclass class class1 is having method called getname(string name) this method can be overloaded in derived class class2:class1

{

void getmethod(int i,string name)

{

}

}

     

 

Back To Question