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. This tutorial is good for beginners. If you provid
View Tutorial          By: Sateesh Bobby at 2008-12-09 23:56:18

2. In good form, don't forget to add column headers a
View Tutorial          By: Jake at 2009-07-13 14:20:16

3. thanks for this sample.. it possible to handle the
View Tutorial          By: nel at 2011-06-13 22:59:45

4. Thanks for the info
View Tutorial          By: info at 2010-01-31 12:17:58

5. marvelous
View Tutorial          By: Anon at 2009-02-12 07:51:44

6. Your site is a really big help. Straight to point
View Tutorial          By: Mark Anthony Santos at 2008-12-16 22:03:57

7. pls help on me to program in c++, write a program
View Tutorial          By: Hamid at 2014-12-18 20:41:40

8. The above codes is working for me~
yeah, wh

View Tutorial          By: rejectee at 2009-10-23 22:14:25

9. Awsome...Example...
View Tutorial          By: sitakanta at 2011-12-05 12:22:03

10. This is good for beginners.
View Tutorial          By: sathish at 2011-04-05 11:37:30