Java Daily Notes
 Super :-  ---------   public class Car extends Vehical{    String carType;   SeatBealt sb;   String colour="Red";     {    System.out.println("car");   }     Car(){    super(100);    System.out.println("zero org constructor-Car");   }       Car get() {    super.get();    System.out.println("sub class method");    return this;   }     @Override   public String toString() {    return "Car [carType=" + carType +" "+ super.colour+"]";   }  }     public class Vehical {    int vehNo;   int cost;   String colour = "White";   String model;    {    System.out.println("vehical");   }    Vehical() {    System.out.println("zero org constructor-vehical");   }    Vehical(int vehNo) {    System.out.println("org constructor-vehical" + vehNo);   }    Vehical get() {    System.out.println("super class method");    return this;   }    @Override   public String toString() {    return ...