Java - Inheritance
What will be the output of this code?
class Sample {
Sample() {
this(5);
System.out.println("Default");
}
Sample(int x) {
this("Hello");
System.out.println("Int: " + x);
}
Sample(String s) {
System.out.println("String: " + s);
}
public static void main(String[] args) {
new Sample();
}
}