View Single Post
  #6 (permalink)  
Old 07-03-2008, 10:50 AM
coolnfunky_raj coolnfunky_raj is offline
Member
 
Join Date: Jul 2008
Posts: 6
coolnfunky_raj is on a distinguished road
Quote:
Originally Posted by Eranga View Post
Refer the element with the index.
I am referring the element by index. I am finding the last element and removing it.

Code:
arr.remove(arr.size() -1);
Reply With Quote