• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

I hava a wonder for the solution ol' " Sharpen Your Pencil " from the page 334 in Head First Java

 
Greenhorn
Posts: 5
Safari Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to get the solution o' page 334 from the Textbook in HeadFirst-Java. Any answerers, please?
Sharpen_Your_Pencil.jpg
[Thumbnail for Sharpen_Your_Pencil.jpg]
Page.334(Polymorphically_Exception_Handling)
 
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am afraid I can't read the picture you posted, but I have a copy of the book. We don't simply give out complete solutions, so, what did you think the answers to the two questions were?
 
Michael Hampton
Greenhorn
Posts: 5
Safari Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
https://books.google.co.kr/books?id=nzhxR1spWEYC&pg=PA316&dq=Yourtask+is+to+create+two+different+legal+try+/+catch+structures+(similar+to+the+one+above+left),to+accurately+represent+the+class+diagram&hl=ko&sa=X&ved=0ahUKEwjy77XpvIzbAhXGi7wKHeiOBhYQ6AEIKDAA#v=onepage&q=Yourtask%20is%20to%20create%20two%20different%20legal%20try%20%2F%20catch%20structures%20(similar%20to%20the%20one%20above%20left)%2Cto%20accurately%20represent%20the%20class%20diagram&f=false

Refer to the URL for its readable sample page, please
 
Michael Hampton
Greenhorn
Posts: 5
Safari Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:I am afraid I can't read the picture you posted, but I have a copy of the book. We don't simply give out complete solutions, so, what did you think the answers to the two questions were?





I think of the solution for the 2nd thing as below

 
Campbell Ritchie
Marshal
Posts: 79239
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for the link . Unfortunately page 334 doesn't appear on Google books neither in the Korean you posted nor in English.
The question asks for two possible solutions and you have only posted one. If those exceptions are checked, that code will fail to compile. Remember it says

. . . ALL of these exceptions might be thrown . . .

 
Michael Hampton
Greenhorn
Posts: 5
Safari Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you think about those two solutions, dear?
Could you give them out here, any snippets also okay for them.
It might be helpful for me, thank you for reading me
 
a fool thinks himself to be wise, but a wise man knows himself to be a fool - shakespeare. foolish tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic