Solved

Java ArrayList  on AIX vs Windows

Posted on 2009-05-20
3
218 Views
Last Modified: 2012-05-07
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
Comment
Question by:d2marcelo
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 250 total points
ID: 24434830
Because you're doing something different ;-) Java is essentially the same on any platform. That's kind of the whole point
0
 

Author Closing Comment

by:d2marcelo
ID: 31583650
yes,  found a terrible bug that I setting it to -1 based on the os version.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 24435276
:-)

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
java  and programming certification ? 4 86
create a gui in perl 3 69
jar file executable 12 37
session migration servlets 2 24
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now