CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: keang

Search: Search took 0.19 seconds.

  1. Thread: Array Copy

    by keang
    Replies
    4
    Views
    6,003

    Re: Array Copy

    Or you could print it like this:

    System.out.println(Arrays.toString(lines));

    Arrays is a class in the java.util package that has a lot of useful methods for sorting, searching, filling,...
  2. Thread: Array Copy

    by keang
    Replies
    4
    Views
    6,003

    Re: Array Copy

    Your code is correct although the easiest way of doing this is to use System.arraycopy(..).

    How are you looking at the array contents?
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured