• Post Reply Bookmark Topic Watch Topic
  • New Topic

Array question  RSS feed

 
Bob Taboy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello! I'm doing a program and plan to use object arrays. The question is, will there be ejecution problems if I re-inicialize the array? Given that the amount of spaces can't be changed (incrised or decreased), to rewrite the array complete can give problems? for example:



Using this kind of operantions will give problems on the long run?
 
Paul Clapham
Sheriff
Posts: 22205
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In general any Java code can give problems. It all depends on how it's written and how it's put together. It isn't possible to say whether two lines of code ripped from a program will cause problems or not.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!