Legacy Design Forum Composition Versus Inheritance
This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Sir, Inheritance in java. I am frequently getting this problem.Can't be static in innerclassB Only members of interfaces and toplevel classees can be static.public static void main(String args). ^ 2)Can't convert java.lang string to int in some of the programs in super word using program.