Domain Name Forum

Domain Name Forum (http://www.domainnameforum.org/index.php)
-   Java (http://www.domainnameforum.org/forumdisplay.php?f=125)
-   -   Function problem (http://www.domainnameforum.org/showthread.php?t=140555)

Java 02-01-2011 01:10 AM

Function problem
 
I'm completely new to java, would like some help. I have a class named class1 and within the class are 2 functions f1() and f2() I take a number as input in f1(). I would like to have that number in f2() as well. I did this by returning the number from f1() to main and then accessing the same...


All times are GMT -4. The time now is 04:49 AM.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.