Suppose there is one folder 'Product' in which I have a product.java without main function file And outside the Product folder , there is source.java file having main function where I have declared the object of product.java I will make the use of packages to call source.java
Now tell me the way to call the file : EXCEPT using 1.CLASSPATH in cmd prompt 2.Without setting environment variable