File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes constructor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "constructor" Watch "constructor" New topic
Author

constructor

Catherine austin
Ranch Hand

Joined: Jul 20, 2011
Posts: 43
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

Joined: Jul 26, 2007
Posts: 10426
    
    8

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?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: constructor