
SAME HERE IF YOU GET THIS PROBLEM SOLVED THEN PLEASE REPLY......... MY ONE JAVA FILE IS:
abstract class A {
abstract void callmetoo() { System.out.println("anoop"); } }
ANOTHER FILE IS:
class B extends A { void callme() { System.out.println("an"); } }
AND THIRD ONE IS:
class AbstractDemo { public static void main(String args[]) { B b1=new B();
b1.callmetoo(); } }
WHEN I AM COMPILING javac AbstractDemo.java,I receives en error: AbstractDemo.java:5:cannot find symbol symbol: class B location: AbstractDemo B b1=new B(); ^ B b1=new B(); ^ 2 errors...
PLEASE REPLY SOON
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.