how to create a java method that removes a random element

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peter perez

    how to create a java method that removes a random element

    how do i create a java method that removes a random element and then substitutes it for the last known element in the array.
  • Oralloy
    Recognized Expert Contributor
    • Jun 2010
    • 988

    #2
    This sounds like a homework question.

    How about trying to write the method and we'll help you get it right.

    Comment

    Working...