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. Great tutorial. THX.
View Tutorial          By: Velvetin at 2009-03-21 11:05:19

2. Hi sir,
i have a critical problem when i dn

View Tutorial          By: Thiru at 2015-09-30 07:02:43

3. Hello! May I know where is the "main" fu
View Tutorial          By: Angelia at 2009-06-25 18:54:28

4. You don't have to call the constructors. When you
View Tutorial          By: Watson at 2011-05-04 10:44:23

5. Helpfull!
View Tutorial          By: touraj at 2010-08-11 13:40:33

6. it's very usefull to the users who were in startin
View Tutorial          By: Harichandana at 2013-02-28 04:37:17

7. Very good post.^^
View Tutorial          By: LAM at 2009-10-25 04:18:38

8. hi sir
how can i get started if i want to

View Tutorial          By: simiyu at 2014-03-15 09:13:04

9. thank you very much....
View Tutorial          By: divya at 2013-01-06 15:50:43

10. i want to know more sample codes in object oriente
View Tutorial          By: glades at 2013-01-23 08:28:33