Hi Jyoti,
it is not like hte way that u think. we need to initalize the varray before using it using a constructor. suppose ur initial lenght of varray is 100 n while initializing it u have given 10 elements. so logically u can use EXTEND function to use declare the elements beyond 10 and not beyond 100.

Regards
Risham