N
Nikola Skoric
Lets say I have a situation like this:
public class a {
public a () {
//...
}
public a (int i) {
//...
}
}
Is there a way to call a() from within a(int i)? Basicly what I'm trying
to achieve is to put all the common code in a (), and in a(int i) just
initialize what I can with the i parameter and than call the a()
construcotor. Would that be possible?
public class a {
public a () {
//...
}
public a (int i) {
//...
}
}
Is there a way to call a() from within a(int i)? Basicly what I'm trying
to achieve is to put all the common code in a (), and in a(int i) just
initialize what I can with the i parameter and than call the a()
construcotor. Would that be possible?