Comment on Tutorial - How to use ArrayList in Java By Hong



Comment Added by : David Nava

Comment Added at : 2011-04-08 03:29:38

Comment on Tutorial : How to use ArrayList in Java By Hong
Muchas gracias por tu codigo. Me ayudo a resolver un problema que tenia con listas, al querer convertir un decimal a romano.

Object numerosEnteros[] = numeros.toArray();
System.out.println("\nSalida");
for(int i=0; i<numerosEnteros.length; i++){
int numEntero = ((Integer) numerosEnteros[i]).intValue();
if(numEntero!=0){
String rom = RomanConversion.binaryToRoman(numEntero);
System.out.println(numEntero+""+"\t"+rom);
}
}


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Please help I want to map the data say username an
View Tutorial          By: akshat at 2011-07-25 12:49:06

2. Where should the file be placed? How do I know wh
View Tutorial          By: Anon at 2009-07-23 14:08:17

3. can i connect mobile phone to usb port instead of
View Tutorial          By: Nevil at 2010-01-11 00:19:17

4. you have extended class Abc within class Abc

View Tutorial          By: SUNIL SHAH at 2012-05-25 06:17:23

5. I don't undrstnd.. cz I think in recurs the method
View Tutorial          By: Alina Ali at 2014-11-13 03:06:17

6. need to be explained more
View Tutorial          By: parul at 2011-06-30 08:34:29

7. Hi, thanks for your code, I have modified a little
View Tutorial          By: Armando at 2010-08-10 09:34:35

8. i want the database connectivity for telephone bil
View Tutorial          By: rohan at 2015-04-05 05:01:46

9. I do my projest in j2me.so please send me your ide
View Tutorial          By: sivasakthivel.s at 2011-06-22 13:26:54

10. Thank you!!!!!
View Tutorial          By: wsjonly at 2013-09-19 18:41:50