I created a class HT17
package useFul;
class HT17
{
void show()
{
System.out.println("Hello World!");
}
}
And i tried accessing it from another class from same package
package useFul;
class HT18
{
public static void main(String[] args)
{
HT17 h =new HT17();
h.show();
}
}
But i am getting error: Cannot find symbol HT17 Yes, They are in same directory i.e useFul A solution would be helpful!