• Post Reply Bookmark Topic Watch Topic
  • New Topic

Program

 
Gagan Ahuja
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please do the following program:

You will have to write a program in Java on Eclipse IDE to do following things.

1) To read HTML from any website say "
http://www.google.com" ( You can use any API of inbuilt APIs in Java like URLConnection )

2) Print on console the HTML from the url above and save it to a file ( web-content.txt) in local machine .

3) JUnit test cases for the above programme.
 
Tim Cooke
Sheriff
Posts: 3290
153
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, is there any particular part of doing this program that you are having difficulty with?

JavaRanch is a great place to come for help with your programs but we are NotACodeMill (<-- click). You are first expected to ShowSomeEffort (<-- click). And just in case this is a school project, you are expected to DoYourOwnHomework (<-- click).

The only way to effectively learn anything is to do the hard work yourself. Put in the hours, work through the solution from beginning to end. The folks here will be more than willing to help you as you go if you run into trouble but you should be mindful that we are all volunteers. Ask specific questions, show us what you've tried, tell us how it's not working, and we'll do our best to guide you.

Happy coding.
 
Gagan Ahuja
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Tim Cooke, actually sir i am fresher and i have done only core java.But this question i have to do in interview as given by them on this saturday.
Even i don't know what to do in this.
Please give me some hint or explanation about it,so that i can do this in interview.
 
Tim Cooke
Sheriff
Posts: 3290
153
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I will happily help you out with any specific issues you may have along the way but I'm not prepared, or even have the time, to mentor you through the whole thing. I'm sure you'll understand.
 
Gagan Ahuja
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okay...sir..its okay

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!