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. i want to know about basic requirement for jdbc ,
View Tutorial          By: Amit sharma at 2009-03-19 04:10:24

2. help me for this nested for loops
2 3 4 5
View Tutorial          By: nadzirah at 2012-10-12 15:33:20

3. Hi...Really nice post..But i got the error like
View Tutorial          By: Nithya at 2013-04-11 09:37:50

4. Can u plz send me woking application (Send sms) J
View Tutorial          By: Ritanshu Goel at 2012-09-22 05:53:24

5. Is System.gc() required with finalize method??
View Tutorial          By: QsRealm at 2012-02-11 08:28:16

6. Thank you , It is really good for beginners.
View Tutorial          By: Satish Kumar at 2010-01-18 03:06:49

7. array is the one which can save similar data typed
View Tutorial          By: Cegonsoft Reviews at 2011-07-26 00:54:18

8. thanks...........its really very helpful for me...
View Tutorial          By: ashwini agarmore at 2013-01-17 06:31:21

9. nice article, many thanx :)
View Tutorial          By: Unknown at 2008-10-16 21:09:02

10. excellent
View Tutorial          By: shamim at 2011-07-08 02:39:31