R
Rendzina
Hi all.
I'm a recent convert to the world of Java and I've hit a problem that
maybe a few of you learned people could help me with. Please.
I'm reading Herbert Schildt (Java 2, complete reference, 5th edition.)
and I'm stuck on Chapter 9, Packages and Interfaces. I did the first
demo ok but then could not compile anything past his first program,
Package p1- Protection.java, Derived. java, SamePackage.java.
Package p2-Protection.java,OtherPackage.java.
To test "Demo.java" will not compile.
Is there some simple explanation/rule for getting packages
working.......classpath? It's very confusing in Schildt and there
doesn't seem to be any examples around.
I'd be grateful for any ideas or help.
Thanks.
PS. I was joking about shooting the dog.
I'm a recent convert to the world of Java and I've hit a problem that
maybe a few of you learned people could help me with. Please.
I'm reading Herbert Schildt (Java 2, complete reference, 5th edition.)
and I'm stuck on Chapter 9, Packages and Interfaces. I did the first
demo ok but then could not compile anything past his first program,
Package p1- Protection.java, Derived. java, SamePackage.java.
Package p2-Protection.java,OtherPackage.java.
To test "Demo.java" will not compile.
Is there some simple explanation/rule for getting packages
working.......classpath? It's very confusing in Schildt and there
doesn't seem to be any examples around.
I'd be grateful for any ideas or help.
Thanks.
PS. I was joking about shooting the dog.