Skip to main content
gamedev.net
🔒 Locked

java return

Started by stein102 1 reply 550+ views
Original Post
stein102
stein102
okay, when i use return on one of my classes i want to know how i can get the string to my other classes? like as an example, if i return the string "apples" on the class "fruit" and have my main method on another class. how can i get the value of apples to come up on it?

thanks
sorry about the noob question. I'm just starting java :)
stein102
stein102
Thanks for your concern, but I already got help from another friend.

Thanks anyway
Jesse

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.