Jump to content

How to initialize a table using makeArray method in Java?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
sam199006

sam199006

    Newbie

  • Members
  • Pip
  • 5 posts
...

Edited by sam199006, 11 December 2011 - 03:06 PM.


#2
Roger

Roger

    If nothing goes right, go left.

  • Administrators
  • 718 posts
  • Programming Language:C, PHP
  • Learning:Python
Why delete your previous code instead of adding your solution here for others to learn from? I find that weird.
Check out our update Guidelines/FAQ. When posting code, remember to use code tags - Posted Image.

#3
lethalwire

lethalwire

    while(false){ ... }

  • Members
  • PipPipPipPipPipPipPip
  • 748 posts
  • Programming Language:Java, PHP
  • Learning:Java, PHP
I'd start with the constructor. That's usually a starting place for my classes.
Initialize your variables...




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users