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. Can you please tell me about parameter and validat
View Tutorial          By: Atul at 2010-09-08 04:48:00

2. Thank you Sir.
View Tutorial          By: Dinesh at 2015-08-25 10:41:30

3. these is the error when i run these program

View Tutorial          By: chintan rajpara at 2015-01-05 06:46:25

4. Friends i m getting error while intrepreting the e
View Tutorial          By: Hanuman at 2014-02-04 14:14:00

5. hi friends i hav project work in this topic so pls
View Tutorial          By: sullan at 2011-05-08 12:08:56

6. Here is my approach for writing equals() method fr
View Tutorial          By: Javin @ eclipse remote debugging at 2011-04-09 06:50:44

7. I have a website and i want to make a option to se
View Tutorial          By: rasel at 2011-11-26 15:50:49

8. hi,
i am safeer, i am try this program in

View Tutorial          By: Safi at 2009-05-22 22:32:04

9. hey...i have a problem getting the system date in
View Tutorial          By: angel at 2010-04-03 09:27:38

10. Hi,
I want to write an Android Application,

View Tutorial          By: Kara at 2014-11-20 07:39:03