*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 4344
    
    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
 
Similar Threads
Wrappers and floats comparision
Keyboard.Class/Anyone with brains.pt2
Where are the dates
comparison methods
Doubt in try - catch - finally block