aspose file tools*
The moose likes Beginning Java and the fly likes Question about a method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Question about a method" Watch "Question about a method" New topic
Author

Question about a method

Fumie Suguri
Greenhorn

Joined: Nov 21, 2005
Posts: 1
How would you call a method that has an array for its parameter?
vivien siu
Ranch Hand

Joined: Nov 10, 2005
Posts: 143
This is a method with an array of datatype String for parameter/argument:



To call it you just have to pass a String array in the parameter values. Like this:


I'm not available, my BF's name is WORK.
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780


There is no emoticon for what I am feeling!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Question about a method