1.To sort a Collection (in java) in descending order, we can use:
Collections.sort(coll_name,Collections.reverseOrder());
2.We can't delete the values in hash.while printing we have to use
if(exists(%hash{"key"})
so that values which is having key only be printed
Comments (0)
You don't have permission to comment on this page.