I try to do this:
public class Demo{
public Demo() {
    Demo(null)
}
public Demo(Interface myI) {
    ...
}
}
I would like the Demo() constructor to call the Demo(Interface) constructor with null however eclipse complains "Demo(null) is undefined" on the line where I call Demo(null). What do I have to change?
It shouldn't be Demo(null) but this(null)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With