User Profile

Collapse

Profile Sidebar

Collapse
mmmtacos
mmmtacos
Last Activity: Apr 2 '08, 08:14 AM
Joined: Apr 2 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • mmmtacos
    replied to Using a put() method in arrays
    in Java
    Ohhhh that makes alot more sense now haha
    Sorry JosAH I missed your post before

    So using this I can do something more like, m.put() instead, which would make alot more sense!

    Thanks for your help guys. I'll have a read of the article because my next task will be using generics!
    See more | Go to post

    Leave a comment:


  • mmmtacos
    replied to Using a put() method in arrays
    in Java
    Hey,
    Thanks for the reply [=

    I understand this, but how would I integrate the put() method into that line of code?...
    See more | Go to post

    Leave a comment:


  • mmmtacos
    started a topic Using a put() method in arrays
    in Java

    Using a put() method in arrays

    Hey,
    I'm pretty new to Java and am having some trouble writing a put() method for one of my programs. The basic idea of it is to have a matrix, made by a multi-dimensional array, then to create the method with three arguements, the row, the column and the object to place into this array.

    To declare the array, and the two objects I have this
    Code:
    	int [] [] matrixArray = new int [5] [5];
    	
    	
    	Object
    ...
    See more | Go to post
No activity results to display
Show More
Working...