Dear people, can anyone help me complete this program
here i have to split this whole String "a" into broken tokens like a=100,b=200,c=300 so have used split method and now have to seperate the key and values like key:a and value:100.But should not use StringTokenizer but can use any other collection like HashMap,HashTable....etc.I dont know how to add this string array here b[] to HashMap so that i can seperate key and value using Map.Entry.Please help me!
here i have to split this whole String "a" into broken tokens like a=100,b=200,c=300 so have used split method and now have to seperate the key and values like key:a and value:100.But should not use StringTokenizer but can use any other collection like HashMap,HashTable....etc.I dont know how to add this string array here b[] to HashMap so that i can seperate key and value using Map.Entry.Please help me!