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. wow........thanks a lot :)
View Tutorial          By: shiva at 2015-08-11 07:47:08

2. Excellent.. simple and too good to understand
View Tutorial          By: venkat at 2010-05-11 00:30:02

3. i want diff example one.....

plz
View Tutorial          By: Santhosh at 2010-07-30 01:35:22

4. hi....can anybody help me....
i need the co

View Tutorial          By: nithin ms at 2007-02-23 08:34:01

5. thank's for the info.. i've learned a lot.. now, i
View Tutorial          By: farah talabo at 2012-01-08 23:55:14

6. sir the program is
error: error reading C:

View Tutorial          By: Yashovardhan at 2008-05-05 21:42:27

7.
View Tutorial          By: pmprash at 2009-12-22 01:15:33

8. Hi, I have the following element:

&

View Tutorial          By: gardek at 2009-09-02 14:40:37

9. Hello, I have executed the above code and it works
View Tutorial          By: Sana at 2010-02-01 03:49:44

10. hello everyone

i want to implement

View Tutorial          By: Prateek at 2010-09-05 00:40:57