File1:
PID Name City
10 Larry LA
11 Man NY
15 Lan SF
File 2:
PID No ZIP
15 7271 90032
10 8281 9547
22 9213 4321
Question:
I want to concatenate the data of these two files.Like if File1 has PID same as File 2 PID the data should be concatenated like this....
eg

Condition having same PID should be concatenated)
O/P(Should be like this)
PID Name City No ZIP
10 Larry LA 8281 9547
15 Lan SF 7271 90032
How should be the java code for this?