Hello, I am doing the following homework exercises which asks us to create two .java files in package foodpackage.fruitpackage. The files are Food.java and FoodMain.java.
I created and complied Food.java and when I am doing the same for FoodMain.java and try to access Food class from it says symbol not found. I am pretty sure that I have done everything correctly. And in any case they are in the same package, so Food class should be available to FoodMain class. Both the files are in fruitpackage directory, then why doesnt it work? Can anyone help me on it? Thanks With regards. -- To post to this group, send email to javaprogrammingwithpassion@googlegroups.com To unsubscribe from this group, send email to javaprogrammingwithpassion+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en