Joined
Last Seen
-1 Reputation Points
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 1
- Downvoting Members
- 3
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: Actually, method overloading refers to the ability to use the same method/function name in multiple classes such as: [code=php]class test1 { private $value; //constructor function test1(){} //method function setValue($value){ $this->value=$value; } } class test2 { private $value; //constructor function test2(){} //method function setValue($value){ $this->value=$value; } }[/code] //in use: [code=php]<?php $test1=new … |
The End.