What happens when you don’t use super () constructor?

If we call “super()” without any superclass Actually, nothing will be displayed . Since the class named Object is the superclass of all classes in Java. If you call “super()” without any superclass, Internally, the default constructor of the Object class will be invoked (which displays nothing).2 Tem 2019

Sizin İçin Seçtik  What Is syntax of multilevel inheritance in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *

What happens when you don’t use super () constructor?

If we call “super()” without any superclass Actually, nothing will be displayed . Since the class named Object is the superclass of all classes in Java. If you call “super()” without any superclass, Internally, the default constructor of the Object class will be invoked (which displays nothing).2 Tem 2019

Sizin İçin Seçtik  İndikatör nedir nasıl çalışır?

Leave a Reply

Your email address will not be published. Required fields are marked *

What happens when you don’t use super () constructor?

If we call “super()” without any superclass Actually, nothing will be displayed . Since the class named Object is the superclass of all classes in Java. If you call “super()” without any superclass, Internally, the default constructor of the Object class will be invoked (which displays nothing).2 Tem 2019

Sizin İçin Seçtik  İndikatör nedir nasıl çalışır?

Leave a Reply

Your email address will not be published. Required fields are marked *