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



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. What is the \ in several of the string building st
View Tutorial          By: rogerb at 2012-01-28 23:07:31

2. Awesome, now I can say I've fully understood volat
View Tutorial          By: Andrew at 2012-01-13 18:19:15

3. sir there is no startapp(),destroyapp() and pause
View Tutorial          By: Sathish at 2012-08-20 08:49:33

4. i want a calendar that shows the year, the month a
View Tutorial          By: steven quijano at 2010-03-18 20:50:37

5. i was after a user interactive calendar where they
View Tutorial          By: Harry at 2011-11-17 09:01:07

6. very informative and hope it will give some more d
View Tutorial          By: mmt at 2009-12-16 02:16:45

7. Hi,

I tried this script with noki

View Tutorial          By: sravan at 2009-07-11 11:17:45

8. If the database server goes down, should the conne
View Tutorial          By: Naveen Gowd at 2012-02-02 07:17:38

9. Thank ... for idea But
i m confuse how run

View Tutorial          By: Tanaji at 2010-06-01 23:13:19

10. hi plz help
how do we change project develo

View Tutorial          By: pratik jogwar at 2012-06-07 19:58:47