Can we use this and super in static method?

Where the “super” keyword in Java is used as a reference to the object of the superclass. This implies that to use “super” the method should be invoked by an object, which static methods are not. Therefore, you cannot use the “super” keyword from a static method .5 Ağu 2019

Sizin İçin Seçtik  What is the declaration in Java?

Leave a Reply

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