<
package test;
public class Anonymous{
public class Popcorn{
public void pop(){
System.out.println("Popcorn pops");
}
}
Type: Posts; User: JavaEnthusiast
<
package test;
public class Anonymous{
public class Popcorn{
public void pop(){
System.out.println("Popcorn pops");
}
}
package test;
public class Anonymous{
public class Popcorn{
public void pop(){
System.out.println("Popcorn pops");
}
}
Hey Z,
Thanks a bunch. It worked like charm.
I agree.. I'm sorry for being vague. Could you please check my recent post? I really appreciate your help. :)
package test;
import math.Factorial;
public class TestMe {
public static void main
(String args[]) {
Yes, when I followed the exact steps it worked. Thanks.
Could you please explain to me creating packages for a simple calculation like factorial?
Steps I'm following:
1. Created a dir...
13431344
I'm atttaching screenprint of the package and console. I think there's an issue with the commands I'm using. Could someone please review?
Thanks.
Sowmya.
Apparently it doesn't work.. It says file not found. :( I've set all the variables. Is there anything els I can do?
1337
I have configured the CLASSPATH and JAVA_HOME environmental variables in windows. Yet I'm not able to run my java file using the command prompt. Please help.