punit pandia wrote:i never used this Scanner can you write simple sample code that will read the address from a text file separated by ";"
Why don't you try it yourself first, and see if it works. If not, post your code, explain exactly what it does, and we can help you fix it.
The best way to learn it to try it yourself.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors