• Post Reply Bookmark Topic Watch Topic
  • New Topic

Pool puzzle in Head first start core java--Havent guessed any puzzle right till now :(  RSS feed

 
Vishal Hegde
Ranch Hand
Posts: 1078
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pool puzzzle is reaally causin me a lot of hinderance

If anybody can suggest how to improvise in that section will be of a great help


 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which page is it on? What is it about?
 
Vishal Hegde
Ranch Hand
Posts: 1078
Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the ending of every chapter theres a pool puzzle it has written something like that

"Your job is to take code snippets from the pool and place then into the blank lines of the code .You may use the code snippets more then ones and you wont need to use all the snippets .Your goal is to make a class that will run and compile and produce the following out"


and then the out put is displayed on the left side of the page while the incomplete code is written on the right hand side
 
W. Joe Smith
Ranch Hand
Posts: 710
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just tried to quasi-reverse engineer the problem. I had the output, so I would go up one line at a time to figure out how that output could be generated. Once you figure out a couple they start to get easier.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!