Happy New Year to everyone! New resolutions for a new year. As I was still pin down by sickness, coughing seriously, no special celebration was undergone for this new year. I felt pretty sorry for not able to join my sister and friends back in PJ on the new year eve.
Anyway, I ended the day with a simple Java program, in fact, the first Java program with the new features introduced in J2SE5.0 (Tiger), in particularly enhanced for loop.
I wrote the program using JCreator, a light weight Java IDE. You can obtain a free JCreator LE (Build 3.50.009) at http://www.jcreator.com/download.htm.
Besides, you must have JDK 5.0 in place; I would recommend you download and install JDK 5.0 Update 1 (from http://java.sun.com/j2se/1.5.0/download.jsp) as that's the latest release. Ensure the JAVA_HOME is added in the environment variable, please refer to my previous posting- Hypersonic SQL (http://trexlim.blogspot.com/2004/12/hypersonic-sql.html) for reference.
You are required to set the compiler to the used in JCreator. Launch JCreator and select Configure > Options from the menu. Click on JDK Profiles and click on New button, then browse to JAVA_HOME. Click OK button and then Apply button.
The following is the source code I have written:
import java.util.ArrayList;
public class Test {
public static void main(String[] args) {
// Create a new list and add some strings to it
ArrayList
mylist.add("a");
mylist.add("b");
mylist.add("c");
// Use enhanced for loop to show the element added into the list
for(String str : mylist) {
System.out.println(str);
}
}
}
After you compile (using menu Build > Compile in JCreator) the above (provided no compilation error) and run the program (via menu Build > Execute File in JCreator), the following should be the expected output printed on the console:
a
b
c
Subscribe to:
Post Comments (Atom)
200 comments:
ko, wish u all the very best in ur java exam!!!
tramadol online what does tramadol 50 mg look like - tramadol 50 mg equivalent to hydrocodone
buy tramadol medication overdose symptoms for tramadol - tramadol no prescription cod
buy tramadol online buy tramadol mastercard - buy tramadol with paypal
buy tramadol overnight cod tramadol ultram narcotic - tramadol 50 mg drug facts
klonopin pill klonopin no prescription needed - pics of 2mg klonopin
order tramadol no prescription tramadol 50 mg online pharmacy - tramadol hcl recreational dosage
tramadol generic buy tramadol online new zealand - tramadol quickly does work
cheap tramadol no prescription tramadol online no prescription usa - tramadol online usa
klonopin 2mg klonopin withdrawal half life - klonopin dosage panic attacks
zolpidem online buy ambien cr - ambien music radio online free
buy tramadol tramadol hcl injection - tramadol dosage for opiate withdrawal
buy clonazepam online taking klonopin for anxiety - day 5 klonopin withdrawal
tramadol online tramadol hcl apap - tramadol high energy
buy tramadol cheap tramadol 50mg vs. lortab 10mg - tramadol 50 mg reviews
soma cheap different soma pills - soma 10mg
buy ambien online without prescription fighting ambien sleep - what is ambien cr
buy tramadol online tramadol 50 mg buy online - tramadol 50mg webmd
klonopin buy 2mg klonopin no tolerance - klonopin dosage severe anxiety
buy tramadol online mastercard overnight tramadol 50 mg strength - tramadol online international
ambien pharmacy stop sleepwalking ambien - generic ambien usa
buy tramadol online tramadol drug class - high von tramadol
cheap lorazepam cheap ativan no prescription - ativan side effects hives
soma online buy soma online $0.45 each - soma muscle relaxer vicodin
generic ambien can get ambien online - buy ambien from usa
buy ativan ativan addiction anxiety - ativan dose get high
order tramadol online mastercard cheap tramadol on line - order tramadol paypal
can you buy ambien online ambien 10mg stories - ambien overseas pharmacy
soma pain just pills soma - soma scheduled drug nevada
buy zolpidem where can i buy cheap generic ambien - purchase ambien no prescription
buy tramadol saturday delivery can you overdose tramadol - vicodin vs ultram tramadol
tramadol online overnight where to buy tramadol online safely - tramadol 50 mg tab amne
ambien online time between ambien and alcohol - ambien side effects joint pain
where to buy tramadol buy tramadol cod next day delivery - ok take 2 50mg tramadol
ambien drug ambien cr there generic - ambien cr side effects liver
buy tramadol the tramadol high - tramadol 50mg for dogs side effects
buy ambien online ambien cr get off - ambience mall gurgaon address
buy tramadol 180 how long does tramadol high last - tramadol high blood pressure
buy tramadol online illegal buy tramadol online uk - buy tramadol with cod
order viagra without rx online generic viagra review - viagra triangle bars
buy tramadol overnight delivery buy tramadol online mastercard - tramadol high altitude
carisoprodol without prescription soma muscle relaxant review - soma for muscle cramps
sildenafil no prescription buy viagra online genuine - viagra buy new zealand
klonopin medication vicodin klonopin erowid - legal buy klonopin online
buy tramadol for dogs tramadol high dose - tramadol 50mg and dogs
how to order viagra online safely buy viagra in tijuana - buy viagra online next day delivery uk
buy ambien online ambien for getting high - buy generic ambien canada
buy klonopin online klonopin order online no prescription - will snorting klonopin get you high
buy tramadol with paypal order tramadol online 100mg - buy tramadol from india
ambien drug does 5mg generic ambien look like - ambien generic 5mg
buy soma do soma pills expire - cheap hotels soma bay
buy klonopin online klonopin max dose - klonopin for dogs anxiety
klonopin online seroquel klonopin overdose - klonopin side effects bipolar
viagra drug viagra online free shipping - viagra buy online uk
buy ambien no prescription ambien side effects back pain - ambien cr overdose
viagra online buy viagra no prescription uk - can you buy viagra in dubai
generic carisoprodol soma medication class - soma muscle relaxant drug
buy ambien online cheapest place buy ambien - street price ambien 10 mg
tramadol cheap buy tramadol online in florida - buy tramadol cheap no prescription
generic ambien get off ambien medication - zolpidem or ambien cr
buy viagra cheap order viagra or cialis online - cheap viagra canada online
cheap sildenafil buy cheap pfizer viagra online - generic viagra express shipping
buy viagra online legally viagra cialis levitra online pharmacy - buy real viagra cheap
klonopin online pharmacy generic klonopin doesn't work - klonopin jittery
tramadol online how much tramadol dosage - 50mg of tramadol
buy viagra usa where to buy viagra online forum - order viagra legally
buy klonopin online klonopin withdrawal vision - is generic klonopin as good as brand name
ambien for sale withdrawal of ambien cr - ambien side effects skin rash
buy viagra online viagra online fast shipping - how to buy viagra online legally
cialis online can you order cialis online - target pharmacy price cialis
buy viagra online buy viagra professional - buy real viagra online canada
generic carisoprodol soma drug pregnancy - soma xpress tires
viagra online where can i buy viagra online safely - viagra without prescriptions paypal
order tramadol online mastercard buy tramadol online visa - tramadol hcl for migraines
soma without prescription soma medication pregnancy - soma other drug interactions
order viagra cheap viagra buy online canada - viagra what dosage
buy viagra viagra online amazon - can you buy viagra no prescription
viagra sildenafil buy viagra ebay - generic viagra best online pharmacy
sildenafil tablets generic viagra pharmacy - generic viagra canada online pharmacy
buy viagra cheap common viagra dosage - viagra dooz 99000
buy viagra online viagra kwikmed - the online pharmacy viagra
order viagra overnight buy viagra gold - buy anti viagra now
buy tramadol cash on delivery zydol tramadol overdose - good site buy tramadol
buy cialis 20mg cialis 5mg user reviews - cialis e20 review
tramadol online tramadol with no prescription needed - buy tramadol without rx
generic tramadol 4 50 mg tramadol - tramadol hcl 50 mg dogs
buy tramadol cheap online legitimate online pharmacy tramadol - tramadol withdrawal insomnia
generic finasteride propecia 5mg side effects - propecia generic form
cheap propecia online order propecia online from canada - generic propecia from canada
strattera cost buy strattera cheap - drug classification of strattera
buy tramadol tramadol snort - tramadol hcl strength
propecia 1mg propecia side effects men's health - propecia cost in the uk
tramadol no rx tramadol vs percocet - where can i order tramadol
buy tramadol can you buy tramadol - tramadol online american express
cheap generic propecia cheap propecia 5mg - generic propecia safety
tramadol online pharmacy tramadol hcl paracetamol - tramadol online com
buy tramadol with cod tramadol withdrawal during pregnancy - tramadol to buy usa
buy tramadol overnight need purchase tramadol - tramadol withdrawal newborns
buy tramadol online safe take 2 50mg tramadol - where to buy tramadol safely
buy tramadol online tramadol same high as vicodin - tramadol no prescription usa
tramadol online tramadol 50mg cost - buy tramadol online worldwide
purchase propecia propecia coupon program - buy propecia hong kong
buy tramadol buy tramadol online from canada - 400 mg tramadol high
tramadol buy tramadol no prescription needed - tramadol 37.5 325 dosage
order tramadol many 50mg tramadol overdose - tramadol online 180
tramadol online tramadol buy online usa - buy discount tramadol
buy tramadol overnight cod buy-tramadol-online - 100mg of tramadol high
tramadol 50 mg tramadol 100 mg street value - buy tramadol in usa
buy tramadol tramadol no prescription overnight - tramadol withdrawal many days
buy generic viagra cheap viagra online prescription - cheap viagra soft tabs
buy tramadol tramadol 100 er - buy tramadol for dogs online
cheap viagra online generic viagra equivalent - buy viagra online cheap no prescription
buy tramadol tramadol online rx - tramadol 400
tramadol 50 mg tramadol extended release tablets - tramadol overdose how many tramadol does it take
cheap viagra viagra diaries - viagra buy manchester
buy tramadol just pills order tramadol online - buy ultram generic
tramadol 50 mg gabapentin and tramadol for dogs - buy tramadol online visa
buy tramadol tramadol dosage weight - tramadol hcl urine drug test
cheap viagra viagra online order no prescription - buy viagra locally
buy cialis cialis buy - generic cialis australia
buy tramadol buy cheap tramadol overnight - tramadol dosage rat
viagra online without prescription who has bought viagra online - purchase viagra melbourne
generic viagra buy viagra from us - can you buy viagra online in us
sildenafil citrate buy viagra online thailand - buy viagra toronto
cheap generic viagra buy viagra germany - buy viagra online yahoo answers
buy tramadol online no prescription tramadol dosage human - buy tramadol online from uk
discount viagra generic viagra quality - buy viagra online cheap us
cheap viagra how to buy viagra in boots - viagra online ireland
viagra online without prescription safe buy viagra online us - viagra every day dosage
generic cialis cheap cialis with prescription - generic cialis manufacturers india
cialis medication cialis high blood pressure - cialis daily or 36
cheap viagra buy viagra online from usa - where to buy viagra in kl
buy cialis cialis daily voucher - low dose cialis online
viagra online without prescription generic viagra best price - is it dangerous to buy viagra online
generic viagra buy viagra online overnight delivery - does viagra work for paraplegics
cheap viagra online viagra facts - cheapest generic viagra us
buy soma online soma bras amazon - soma medication wiki
buy soma online reviews for soma bras - soma for muscle cramps
viagra online generic viagra buy us - buy viagra online yahoo answers
generic cialis cialis vs viagra buy online - cheap cialis uk suppliers
buy tadalafil cialis price with prescription - generic cialis at cvs
cialis online cialis daily available nhs - cialis 72 ore
soma for sale soma san diego wikipedia - cheap soma pills
buy cialis buy cialis canada pharmacy - cialis men
buy cialis cialis daily does it work - typical price cialis
cialis online cialis online pharmacy scams - buy brand name cialis online
viagra online cheap female viagra online - viagra heart attack
buy soma online online somali dating - soma bras san diego
generic viagra cheap viagra online fast shipping - viagra buy online no prescription us
cheap viagra viagra recreational use - can you buy viagra in qatar
buy soma online cheap soma overnight delivery - soma muscle relaxer and alcohol
buy soma online soma underwear - soma half ironman
viagra online generic viagra us no prescription - where to buy viagra in la
buy soma will soma show up on drug test - soma muscle relaxer fibromyalgia
buy soma soma medication online pharmacy - buy soma online canadian pharmacy
soma drug soma drug test information - online soma fedex
buy soma buy soma online without rx - soma pills good
order soma online buy generic soma - soma urban pursuit
soma for sale soma drug forum - soma drug test
cheap soma online soma generic vs watson - buy soma louisiana
soma medication soma muscle relaxer medication - buy soma no script
soma online soma pill v - soma drug facts
generic soma soma drug movie - soma withdrawal
buy soma online soma drug dose - soma online store
buy retin-a retin a cream eyes - retin a micro insurance coverage
buy tramadol online without a prescription where can you buy tramadol over the counter - tramadol for dogs effects
tramadol cheap tramadol no prescription - tramadol hcl taken with tylenol
buy tramadol tramadol dosage maximum - buy tramadol online illegal
buy cialis online buy cialis reviews - generic cialis buy us
buy tramadol online no prescription cheap tramadol order online overnight - best place buy tramadol tk
buy retin-a can you buy retin a cream over the counter - retin a micro molluscum
tramadol online overnight where to buy ultram - tramadol 100mg online overnight
purchase tramadol tramadol with valium high - get prescription online tramadol
buy retin a buy retin a micro online - retin-a cream long term effects
cheap tramadol buy tramadol cod personal check - buy-tramadol-online.org
buy tramadol with paypal tramadol 50mg capsules for dogs - is it legal to get tramadol online
buy tramadol 100mg online tramadol recreational high - buy tramadol for dogs uk
buy retin a ortho neutrogena retin a cream - retin a cream brands
cheap tramadol buy 300 mg tramadol - can i get high off tramadol
tramadol no prescription tramadol dosage for goats - tramadol hcl dosage
tramadol online tramadol online delivered florida - tramadol for dogs for humans
buy tramadol with mastercard tramadol dosage oral - tramadol tablets dogs dosage
buy tramadol cod overnight tramadol withdrawal long - buy tramadol online overnight fedex
order tramadol online overnight buy tramadol online missouri - tramadol drug buyers
cheap tramadol tramadol 50mg vs tylenol 3 - good site buy tramadol
buy tramadol without a script tramadol 50 mg and breastfeeding - tramadol 80 mg
cheap tramadol inurl forum buy cheap tramadol - tramadol 50mg vet
buy tramadol overnight shipping tramadol 50mg much - what is tramadol high like
buy generic tramadol no prescription dose of tramadol - buy tramadol no rx
xanax online buy xanax online no prescription cheap - xanax bars oxycontin
tramadol online get high tramadol hcl 50mg - illegal buy tramadol online
buy tramadol rx tramadol hcl 50 mg para que sirve - buy tramadol legally online
xanax medication 5-htp and xanax drug interactions - xanax for dogs
tramadol online tramadol medication addiction - tramadol overnight no prescription mastercard
tramadol online buy tramadol online no prescription cheap - tramadol dosage humans weight
buy cialis daily cialis over the counter - cialis online in the usa
xanax online long term effects xanax - xanax generic vs
klonopin for sale can i buy clonazepam online - generic klonopin walmart
order klonopin online klonopin 2012 - effective klonopin dosage
buy klonopin online klonopin job interview - klonopin good opiate withdrawal
Post a Comment