Hi All,
Following is my directory structure:
C:\Avinash\Java\mypackage
Under directory mypackage, I have 2 classes namely a & b
Both are in package mypackage
Source Code is as follow:
package mypackage;
public class a {
public static void main(
String[] args){
}
}
package mypackage;
public class b extends a{
public static void main(String[] arguments){
}
}
Now when I am compiling class b compiler gives me an error.
It says can not resolve symbol class a
I don't know what is going wrong.
Please explain.
Thanks in advance.