I have 30000 dictionary words. In that I want to to search each word in Google and want to find hits of each word using Java program. Is it possible?
I'd recommend separating your problem into pieces. Get each one working, then marry them together for the solution you want.
You have a few things going on here:
Computer science is all about taking large problems and decomposing them into smaller ones. I'd recommend that you start learning how to do that now.