Comment on Tutorial - How to use Iterator in Java By Fazal



Comment Added by : puma

Comment Added at : 2009-09-23 16:39:57

Comment on Tutorial : How to use Iterator in Java By Fazal
Sorry:

#!/usr/bin/env ruby
al = ["C", "A", "E", "B", "D", "F"]
puts "Original contents of al: #{al.join(" ")} "
al.map! {|x| "#{x}+" }
puts "Modified contents of al: #{al.join(" ")}"
puts "Modified list backwards: #{al.reverse.join(" ")}"


View Tutorial



Ask a Question

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. Good Luck.........

by Nagarajan(

View Tutorial          By: nagarajan at 2011-06-21 12:14:39

2. If you use comments you will have better idea abou
View Tutorial          By: Mohammed Homam at 2009-12-06 04:43:51

3. Thanks summarized and useful
View Tutorial          By: Pegasus_Silvershade at 2010-09-10 18:02:49

4. can u p-lease tell me the clear idea of how to sto
View Tutorial          By: osman at 2010-08-19 04:33:37

5. The code gives the following exception :-
<

View Tutorial          By: Lourdu Felix at 2009-01-26 03:37:53

6. Thanks a lot :-) It is very informative
View Tutorial          By: praveen at 2010-05-03 22:17:19

7. setting on my nokia 7610 on mtn using operamini 4.
View Tutorial          By: DREAD at 2010-06-21 07:40:13

8. A more complete description of the common pitfalls
View Tutorial          By: Phil at 2012-11-25 02:06:49

9. Can you give some examples of do while & pleas
View Tutorial          By: mhilan at 2011-09-01 04:54:13

10. Very simple, clear visualized and meaning
View Tutorial          By: HIM at 2011-07-21 21:43:58