Hi,
i got a class:
Code:
class base{
private:
	int age;
public:
	base(int);
};
The constructor can be:
method A:
Code:
base::base(int _age):age(_age){
}
method B:
Code:
base::base(int _age){
    age=_age;
}
are both the methods correct? is it correct in c++ to use method B?

do clarify.
thanks