hi im narendra im new to java.. i have a problem in importing custome package
the following 2 programs
1) hello.java package wish; public class hello { public static void call() { System.out.println("Hello World!"); } }
2) wishing.java
import Wish.*; public class Wishing { public static void main(String[] args) { hello.call(); } } it is giving me error Wishing.java:7: cannot access hello bad class file: .\hello.java file does not contain class hello Please remove or make sure it appears in the correct subdirectory of the classpa th. hello.call(); ^ 1 error [ November 08, 2005: Message edited by: billakanti narendra ]