# Package Cannot be Nested

**URL:** <https://forum.kirupa.com/t/package-cannot-be-nested/323216>\
**Category:** flash\
**Created:** [June 21, 2011, 3:57pm UTC](https://forum.kirupa.com/t/package-cannot-be-nested/323216 "2011-06-21T15:57:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashAj325](https://avatars.discourse-cdn.com/v4/letter/f/5daacb/32.png) [@FlashAj325](https://forum.kirupa.com/u/FlashAj325)\
**Post date:** [June 21, 2011, 3:57pm UTC](https://forum.kirupa.com/t/package-cannot-be-nested/323216/1 "2011-06-21T15:57:40Z")

</div>

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

```auto

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]
