There are three classes: A,B,C code: ------------------------------ class A{ void method(){} } class B extends A{ void method(){} } public class C extends B{ void method(){} } ------------------------------ In class C, I can use the method "method()" of B by using "super.method()". How can i directly use the method "method()" of A except to declare it static??
Ronald.H, Welcome to JavaRanch! We ain't got many rules 'round these parts, but we do got one. Please change your display name to comply with The JavaRanch Naming Policy. We'd like display names of the format FIRST_NAME + SPACE + LAST_NAME. We'd also like more than a single character be used for the LAST_NAME. Thanks Pardner! Hope to see you 'round the Ranch!