In the below example, what will be the output?
 public class superclass {
     public void displayResult() {
         system.out.println("Printing from superclass");
     }
 }
 public class subclass extends superclass {
     public void displayResult() {
         system.out.println("Displaying from subClass");
         super.displayResult();
     }
     public static void main(String args[]) {
         subclass obj = new subclass();
         obj.displayResult();
     }
 }

Answered question
Sorry, you do not have permission to read comments.