• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

constructor

 
Catherine austin
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i can across question no-2 of chapter no-2 of K&B . I am not able to understand why does it fails.
Code is



 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In future, while posting code, please UseCodeTags. I have added them this time for you.
I am not able to understand why does it fails.

Can you explain what you mean by fails? What is the expected and actual behavior?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic