• Post Reply Bookmark Topic Watch Topic
  • New Topic

HFEJB page 132

 
Sanju Thomas
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
The answer for the Sharpen your pencil question in the page no 132 is telling that the object returned from the create() does not need a cast. Since it is a RemoteHome , I think we must narrow down the Cart object.
Can any one clear my doubt..

thanx in advance

Sanju

[SCJP]
 
Sanju Thomas
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry , I understood my mistake.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!