This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes function parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "function parameters" Watch "function parameters" New topic
Author

function parameters

James Matthews
Greenhorn

Joined: Aug 06, 2003
Posts: 4
hey, ive recently come across function parameters, anyone able to tell me what they are and why they are used?
cheers
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

You mean like

The '1' being the "function parameter?" Or do you mean something else -- the term "method argument" is more common in Java.


[Jess in Action][AskingGoodQuestions]
James Matthews
Greenhorn

Joined: Aug 06, 2003
Posts: 4
I assume its the "method argument" although it calls it the function parameter.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

I'm not quite sure what you're asking. You pass arguments to a method to supply "inputs" for whatever computation it's going to do; are you asking something more than this?
[ August 06, 2003: Message edited by: Ernest Friedman-Hill ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: function parameters
 
Similar Threads
TextField to the Applet
mehtod arguements assigned to default values or not?
Doubt regarding functions
Not able to call javascript function from struts tag
parameters/arguments