Predict the output 
import java.util.*;
import java.lang.*;
import java.io.*;
class BK  
{
        public void sookshmas(){
                System.out.print("Happy learning");
        }
}
class Derived extends BK  
{
        public Derived()  
       {
                this("Hello guy's!!!"\n);
                System.out.print("Here is a best learning platform" \n");
        }
        public Derived(String s)   
       {
                System.out.print(s);
        }
        public static void main(String[] args)
     {
                Derived d=new Derived();
                new Derived("Sookshmas E-learning\n");   
               d.sookshmas();  
        }
}


Posted on by