I have created package in D drive. It exists in D:\ramesh\ directory
package ramesh;
public class sourcee
{
public void display()
{
System.out.println("Source Package");
}
}
I have my another source file in E Drive.It exists in E:\Java
import ramesh.sourcee; // How to change import statement?
class deestination
{
public static void main(String args[])
{
sourcee ss=new sourcee();
ss.display();
}
}
How do I make import statement to refer to D:\ramesh since my program is in E;\ drive.. ?
Please help....