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  >  J2EE  >  Java

 Print  |  
Question:  What restrictions are placed on method overloading

Answer: Two methods may not have the same name and argument list but different return types.


June 06, 2005 23:55:37 #1
 dantheman   Member Since: Visitor    Total Comments: N/A 

RE: What restrictions are placed on method overloading
 
The two method can't have an identical argument list.
     

 

Back To Question