take a look at the PL/SQL User's Guide & Reference
chapter 4, Collections and Records

You will find everything you need to know.

Regards
Gert