aspose file tools*
The moose likes Beginning Java and the fly likes if-else doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "if-else doubt" Watch "if-else doubt" New topic
Author

if-else doubt

saloni jhanwar
Ranch Hand

Joined: Feb 09, 2012
Posts: 583



Output :try again

but it should be "give exam first" and it comes only when i pass false in if condition where i did pass exam.done() done() is also returning false why it is not working with that ?


Tell the difficulties that i am difficult.
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4385
    
    8

You show the code for IfElseTest2, but you're creating an IfElseTest1.
saloni jhanwar
Ranch Hand

Joined: Feb 09, 2012
Posts: 583

Matthew Brown wrote:You show the code for IfElseTest2, but you're creating an IfElseTest1.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: if-else doubt