User Profile

Collapse

Profile Sidebar

Collapse
Bull Horn
Bull Horn
Last Activity: Feb 24 '11, 03:43 AM
Joined: Jan 13 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Would someone help me with Searching and Sorting Arrays?

    This is basically what I have to do. I think I have the methods correct in terms of sorting, but how do I switch it from largest to smallest?

    The selectionSort method should take an array of integers as a
    parameter and will sort the numbers into order from largest to smallest.
    Place a println statement in the sort so every time a new maximum is
    found, it is printed to the screen. Once all are sorted, the method...
    See more | Go to post

  • Bull Horn
    started a topic Help with ArrayLists parameters?
    in Java

    Help with ArrayLists parameters?

    This is what I have so far. Am I on the right track because I am kind of confused? I understand what it is asking for, but I do not really know how to put that in code. I received the error: type ArrayList does not take parameters at line 9 and 11. Can someone help?


    Write a method called removeLowerThan that takes a double, number,and an integer, length, as parameters. The method should create an ArrayList and fill it with...
    See more | Go to post
No activity results to display
Show More
Working...