Package Cannot be Nested

[FONT=“Courier New”]I want to get into Object-Oriented Programming, but when I even try to code even one line:


package{
     //code here
}

I get an error: packages cannot be nested. I know what this means, but I have no idea why it’s giving me this error. Help?

-FlashAj325[/FONT]