i won't able to call the method of supper class : import java.util.*; class supers { int x,y; supers(int a,int b) { x=a; y=b; } final void volume() { System.out.println("area is "+x*y); } } class sub extends supers { int z; sub(int a,int b,int c) { super(a,b); z=c; } /*void volume() { System.out.println("volume is "+x*y*z); } /* } class m { public static void main(String args[]) { sub obj = new sub(1,2,3); obj.volume(); } }