In Java it is possible to define two or more methods within the same class that share the same name, as long as their parameter declarations are different

A) True
B) False

Showing Answers 1 - 3 of 3 Answers

Vickey

  • Nov 28th, 2006
 

Yes it is True ...

In Java we can have to or more classes with the same name but the parameter list should be Different ... This Concept is called

Method Overloading or Function Overloading

In C++ we have the same Concept too ..

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions