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. Nice Intro to start J2Me
View Tutorial          By: Mak at 2009-07-04 10:36:00

2. Hi All,

Can any one please let me k

View Tutorial          By: Deepak at 2015-03-19 15:24:40

3. Thanks a lot, a long time I search for solution fo
View Tutorial          By: Jonhnes at 2013-02-16 17:17:47

4. Handling several submissions can be a lot simple t
View Tutorial          By: Blaze Blankenship at 2012-12-05 13:04:12

5. If i run this program----



View Tutorial          By: pratham at 2010-09-22 10:10:11

6. Been looking at several website for a clear explan
View Tutorial          By: Jase at 2011-08-09 12:00:10

7. Good Introduction to start j2me.thanks
View Tutorial          By: Ravinder Kasarla at 2008-12-26 06:59:29

8. great resource
View Tutorial          By: Anonymous at 2011-04-14 03:14:43

9. sir, thanks sir. very help to me. its simple and e
View Tutorial          By: kannathasan.M at 2012-10-01 07:59:28

10. Thanks very much....its very simple explained.....
View Tutorial          By: nizam at 2012-12-17 09:43:11