my problem is that :
let i m declaring a package P1 and i have defined one class as public in it.now i know that i can use it anywhere. but let if i want to make a second class as public then it can not be possible.but if i not declare it as public then it can not be used outside package. then what is its use to define a class without public? and what is the way to define two classes in same package and also use them outside package?