title: Netbeans Override Annotation
body: <p>i'm trying to create a new class that inherits from an abstract superclass (contains three abstract methods). The issue is that netbeans gives me a warning : add @override annotation. why should i do this (add this annotation) if i'm not overriding any method. What's the problem ? </p>
  
  <p>Superclass is </p>
  
  <pre><code>abstract class Vehicul {
  
     String denumireaVehiculului;
     float lungimeaMinimaVehicul;
     int numarulMinimDeLocuri;
  
     public abstract void mediulDeDeplasareAVehiculului();
     public abstract void nivelulDeSiguranta();
  
     // Constructor implicit
     Vehicul() {
  
         denumireaVehiculului = "Eu sint vehicul";
         System.out.println(denumireaVehiculului);
  
         lungimeaMinimaVehicul = 3.50f;
         System.out.println("Lungimea minima este "+lungimeaMinimaVehicul);
  
         numarulMinimDeLocuri = 2;
         System.out.println("Numarul minim de locure este "+numarulMinimDeLocuri);
     }
  }
  </code></pre>
  
  <p>Subclass is </p>
  
  <pre><code> public class Avion extends Vehicul {
  
   public void mediulDeDeplasareAVehiculului() {
  
  }
  
   public  void  nivelulDeSiguranta() {
  
  }
  
  public String getDenumireaVehiculului() {
  
       return "Avion";
  
  public void   afiseazaCineEsti() {
  
          System.out.println("Eu sunt un avion");
  
     }
  </code></pre>
  
  <p>}</p>