class Animal {
    Animal(){
        super();
    }
}
class Bird extends Animal {
    Bird(String name){
        System.out.println(name);
    }
    
    Bird(){
        System.out.println("Unknown");
    }
}
public class WhizSuperKeyWord {
    public static void main(String[] args) {
        new Bird("Parrot");
    }
}
Hi, this is my first post. I am learning Core Java. Can you please help me understand what's the use of super() method in parent class. I understand super() is used in Child class to invoke constructor of Parent class. I am puzzled what is super() method doing in Parent class. this() is used in Parent class to invoke constructor of current class. Many thanks.
 
    