This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes if-else doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 3793
    
    1

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
Where are the dates
Doubt in try - catch - finally block
Wrappers and floats comparision
comparison methods
Keyboard.Class/Anyone with brains.pt2