Hi!
i've created an package like this.
package pack;
class A
{
void display()
{
System.out.println("Hello");
}
}
/////another file
package pack;
class B
{
public static void main(
String as[])
{
A aa=new A();
aa.display();
}
}
the above program is not working,can anyone help me?
------------------