• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 227
  • Last Modified:

Java ArrayList on AIX vs Windows

Hi , newbie question.
When I populate an arraylist and get the index 1
on aix it prints the first element of the list
and on windows it prints the second element (because here it starts at 0)

why is that?

0
d2marcelo
Asked:
d2marcelo
  • 2
1 Solution
 
CEHJCommented:
Because you're doing something different ;-) Java is essentially the same on any platform. That's kind of the whole point
0
 
d2marceloAuthor Commented:
yes,  found a terrible bug that I setting it to -1 based on the os version.
0
 
CEHJCommented:
:-)

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now