Creating java package on ubuntu?
- by Gaurav_Java
I am new to java. Here I am trying to create java package. And try to compile it from another directory . But there is an error like bash: /home/gaurav/Desktop/package2/B.java: Permission denied
Here is fy first code and directory is /home/Desktop/package/A.java
package package1;
public class A
{
interface A1
{ void show();
void display();
}
}
…