Hi, You can't have more than one package statement in a Source file and that package statement should be the first non comment statement. So at a time you can define a class for one package only however a package can contain a sub package in that situation u have to seperate the name of a package and it's sub package using the dot ( . ). so this is a valid statement: package MyPack.Subpack;
I hope this much is enough. Correct me if I am wrong. Neeraj Thakkar
------------------ Neeraj Thakkar Java Consultant
Neeraj Thakkar<br />"Try to get what you like,Else you will be forced to like what you get."