Tell about some of the Built-In Methods of ASSOCIATIVE ARRAYS

 Posted by Niladri.Biswas on 5/12/2013 | Category: Oracle Interview questions | Views: 3060 | Points: 40
Answer:

It provides many built in methods to work with e.g.

a)First: Returns the subscript of the first element in the associative array.

b)Last: Returns the subscript of the last element in the associative array.

c)Prior: Returns the subscript of the previous element in the associative array.

d)Next: Returns the subscript of the next element in the associative array.

e)Exists: Returns true if the element at te specified position is found else false

f)Trim: Removes the last N elements from the collection

g)Count: Returns number of elemets in the collection

h)Delete: Delete the element in the collection


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response