I think yes. there are two ways to access the super class constructors they are :
First Method:
class A
{
A()
{
System.out.println(" First Message ");
}
}
class B extends A
{
B()
{
System.out.println(" Second Message ");
}
public static void main(String a[])
{
B b=new B();
}
}
Second Method:Thr Super
class A
{
double wid;
double hei;
double dep;
A(double w,double h,double d)
{
wid=w;
hei=h;
dep=d;
}
}
class B extends A
{
double wei;
B(double w,double h,double d,double m)
{
super(w,h,d);
wei =m;
}
double vol()
{
return wid*hei*dep*wei;
}
}
class C
{
public static void main(String a[])
{
B b=new B(2.0, 2.0, 2.0,2.0);
System.out.println(" >>>>> " +b.vol());
}
}