posted 21 years ago
When you use the index reference operator, ie., [], the operand has to be an array type. In your code, ob is declared as an Object, not an array. Hence the error.
Hope that helps,
Ajith
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).