How to iterate map in collection framework?
Answer / navin kumar
Map<String,String> map = new HashMap<String,String>();
map.put("A","Rohan");
map.put("C","Sohan");
map.put("B","Ram");
for(String key : map.entrySet()){
sop(key);//A,C and B as key
sop(map.get(key))//Rohan,Sohan and Ram as values
}
Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between Requirement type Determination and Schedule line category determination ?
Explain Inter company Sales process
How to ignore some file in mvc
How to iterate map in collection framework?
paypal interview questions
i have 10,000 records in one input file i want to sort 1 to 5000 records in one out file and remaining records sort in another out file file write syntax?
A alone can do a piece of work in 6 days and B alone in 8 days. A and B undertook to do it for Rs. 3200. With the help of C, they completed the work in 3 days. How much is to be paid to C?
If selling price is doubled, the profit triples. Find the profit percent
In Material Master, in which tab you will find the Loading Group?
What is the movement Type for Sales?
A bank offers 5% compound interest calculated on half-yearly basis. A customer deposits Rs. 1600 each on 1st January and 1st July of a year. At the end of the year, the amount he would have gained by way of interest is:
UI Development questions