Forums Register Login

Hello

+Pie Number of slices to send: Send
This is all brand new to me and I need alittle help.
How can I create a function called Greet that is passed two parameters?
+Pie Number of slices to send: Send
Welcome to the Ranch!

Unfortunately, that probably won't help much. You need to be more specific about what you're asking. Tell the details (and use a meaningful subject line). What have you tried? Why isn't it working? Are you getting compilation errors? Is it not performing as expected?
+Pie Number of slices to send: Send
Hi Frank,

Also, in Java, there is nothing known as 'function', we call it as 'methods' ( which represents (the Java way) the behavior of an Object )

Thanks,
Joydeep
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 817 times.
Similar Threads
java Method overloading
Problem with the 2nd Constructor of Data class
Button click to access Servlet
When to use parameters in a custom function
Adding Objects into an Array, or ArrayList from user input
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 07:41:23.