Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: 2 array question

  1. #1
    Junior Member
    Join Date
    Jan 2012
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 2 array question

    can any1 tell me what is this mean in array?????

    int[][] highest = new int [12][2]


  2. #2
    Think of me.... Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Pakistan
    Posts
    1,136
    My Mood
    Grumpy
    Thanks
    20
    Thanked 82 Times in 78 Posts
    Blog Entries
    1

    Default Re: 2 array question

    Quote Originally Posted by w.kit View Post
    can any1 tell me what is this mean in array?????

    int[][] highest = new int [12][2]
    Didn't you go through the tutorials?
    Well, it's declaring a two dimensional array with 12 rows of 2 columns each.

Similar Threads

  1. Array List question
    By Demetrius82 in forum Java Theory & Questions
    Replies: 4
    Last Post: June 3rd, 2011, 10:28 AM
  2. Array question. Stumped!
    By tjanuranus in forum What's Wrong With My Code?
    Replies: 3
    Last Post: April 5th, 2011, 02:35 PM
  3. Easy array question
    By surfbumb in forum What's Wrong With My Code?
    Replies: 1
    Last Post: February 3rd, 2011, 09:44 PM
  4. 2D Array Question
    By gmorris1986 in forum Java Theory & Questions
    Replies: 2
    Last Post: June 18th, 2010, 11:40 AM
  5. A question about an array
    By faizana2006 in forum Collections and Generics
    Replies: 2
    Last Post: October 28th, 2009, 04:36 PM