Contact: aviboots(AT)netvision.net.il
41,379 questions
53,922 answers
573 users
final public class Test{} class B extends Test { void show() { System.out.println("B extends Test show()"); } public static void main(String args[]) { B obj = new B(); obj.run(); } } /* run: error: cannot inherit from final Test */