I have a constructor with variable initial_Age
public Person(int initial_Age) {
if(initial_Age<0){
age=0;
}
I want to use initial_Age in other methods but it is giving error(variable not initialized)
public void amIOld() {
if(this.initial_Age>0){
age=this.initial_Age;
}
What should I do ?