Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Array question

 
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: 21941
36
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.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!