Search:

Type: Posts; User: av8

Search: Search took 0.12 seconds.

  1. Thread: Sets

    by av8
    Replies
    9
    Views
    1,308

    Re: Sets

    Yes thankyou Norm it worked A OK.
  2. Thread: Sets

    by av8
    Replies
    9
    Views
    1,308

    Re: Sets

    I have tried String [] text = {"late" ,"train", "is", "again", "the"}; with the curlys instead of []

    text.split(",");

    and still get an error do i need to use import java.util.*;
  3. Thread: Sets

    by av8
    Replies
    9
    Views
    1,308

    Re: Sets

    split(String regex, int limit)

    These are the arguments in the API but to be honest I dont know what they mean or how to implement them.

    rGds
  4. Thread: Sets

    by av8
    Replies
    9
    Views
    1,308

    Re: Sets

    String [] text = ["late" ,"train", "is", "again", "the"];

    text.split(",");

    for ( int i = 0; i < text.length; i++)

    {
    System.out.println(text[i]);
    }
  5. Thread: Sets

    by av8
    Replies
    9
    Views
    1,308

    Sets

    Hi Ladies and Gents,

    I'm trying to teach myself about sets from scratch and the uses of them and I have thought of a method that could be useful.

    If I had a method called for example ...
Results 1 to 5 of 5