Link to home
Start Free TrialLog in
Avatar of ms_lost
ms_lost

asked on

also overloading methods!

which one of the following is wrong and why
 
class student
{
public student(){}

public student (int a){}
public student (int b) {}
public student (in a,int b){}
public student (double a){}
public student (double a,double b){}

}

ASKER CERTIFIED SOLUTION
Avatar of Venci75
Venci75

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of reynoldg
reynoldg

Venci75 is Right
Avatar of ms_lost

ASKER

thanks alot