title: Java :Interface Method's Overriding
body: <pre><code>package chap8;  
   interface Interfaces
   {
       void nMethod();    //   normal method of interface
  
       default void dMethod() // default method of interface
       { System.out.println("Default Method of Interface"); }
  
       static void sMethod()  // static method of interface
       { System.out.println(" static method of interface"); }
  
   } 
   class IClass implements Interfaces
   { 
     public void nMethod()
      { System.out.println("Normal Method of Interface in IClass ");}
      static void sMethod()
      { System.out.println("Does function overrided ?");}
      public void dMethod()
      { System.out.println("default Method of Interface in IClass ");}
   }
   class MainClass
   {
       public static void main(String args[])
       {
          IClass ob =new IClass();
  
          ob.nMethod();
          ob.sMethod(); // overrided method ??
          ob.dMethod();
  
          // calling static
  
           //Interfaces.sMethod //  via Interfaces
          // IClass.sMethod();   // via IClass       (why all these sMethod calling showing error)
  
  
  
       }
   } 
  </code></pre>
  
  <p>Question: a) Does sMethod declared in interface overrided by sMethod present in IClass ?</p>
  
  <p>b) why am i not able to call sMethod through Interface and IClass?</p>
  
  <p>Thk fpr help!!!</p>