Sunday, January 26, 2014

How to print out the value of the return of


            
In java programming, at a function to download the file, the file is downloaded successfully return 1, the file download fails return 0, how to use System.out.print (), print out the download success return value.
Reply:
 int retVal = yourPrintFunc (); 
System.out.print (retVal);

No comments:

Post a Comment