File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes read value from another function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "read value from another function" Watch "read value from another function" New topic

read value from another function

Georgia Matheou

Joined: May 28, 2008
Posts: 9

I have a from that takes two numbers.
I want to read this numbers and then pass this values to a function

and i have in a java class the funtions

Can you help please

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61993

You'll need to parse the string values into their respective integer values. Check out the Integer.parseInt() method for this purpose.
[ June 09, 2008: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: read value from another function