No. Use the remove() method, which will not create problematic nulls .
remove()
null
names.remove( 4 );
You have reached the end this chapter. You may wish to review the following. Click on a subject that interests you to go to where it was discussed.
You have reached the end of the chapter.