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 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

Question about a method

Fumie Suguri

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!
I agree. Here's the link:
subject: Question about a method
It's not a secret anymore!