Page 2 of 2 FirstFirst 12
Results 21 to 25 of 25
  1. #21
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,429
    Rep Power
    7

    Default

    Which one are you going to use? Depends on what approach you'll use.
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  2. #22
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,875
    Rep Power
    25

    Default

    Define a list of some kind that has the sort() method.
    then call the sort method: list.sort();

    There is more to coding java than just typing in code. You have to read thru the API doc to find the tools you need and how to use them. Also the Java Tutorial has LOTs of coding examples of how to use the classes and methods. You need to take some time and do some research. Perhaps Google would return some coding examples of using the sort)_ method.

  3. #23
    sus
    sus is offline Member
    Join Date
    Jun 2010
    Posts
    12
    Rep Power
    0

    Default

    ok thanks ill try that ,,

    thanks alot guys

  4. #24
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,429
    Rep Power
    7

    Default

    And read about Comparable before you ask the next time ;-)
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  5. #25
    sus
    sus is offline Member
    Join Date
    Jun 2010
    Posts
    12
    Rep Power
    0

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Java, Military Format using "/" and "%" Operator!!
    By sk8rsam77 in forum New To Java
    Replies: 11
    Last Post: 02-26-2010, 04:03 AM
  2. String greeting = "Hello, world!";
    By Gregorius in forum Introductions
    Replies: 2
    Last Post: 01-24-2009, 02:12 AM
  3. Replies: 1
    Last Post: 10-20-2008, 08:35 AM
  4. Help with "Hello World" Program
    By Phantom in forum New To Java
    Replies: 5
    Last Post: 09-05-2008, 10:34 AM
  5. "Jumble" or "Scramble" Program
    By Shadow22202 in forum Java Applets
    Replies: 8
    Last Post: 04-30-2008, 04:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •