View Single Post
  #2 (permalink)  
Old 04-15-2008, 11:25 AM
sanjeevtarar's Avatar
sanjeevtarar sanjeevtarar is offline
Senior Member
 
Join Date: Apr 2008
Location: Delhi(India)
Posts: 249
sanjeevtarar is on a distinguished road
Hi Ashok,

Why do not you return boolean value from parse method directly..?

boolean parse(){

boolean flag;
// some logic code.
// set flag

return flag;
}

after calling parse method from class A get this boolean variable and do more....

If i misunderstand then correct me.

sanjeev

Reply With Quote