Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

passing args to method

Thread view: 
indian_gaurav - 07 Jun 2007 09:12 GMT
Hello everybody!

If a wana pass an array and an object of another class as argument to
a method, what is the procedure.

Plz, Help me.

Regards

Indian_gaurav
Chris Dollin - 07 Jun 2007 09:34 GMT
> If a wana pass an array and an object of another class as argument to
> a method, what is the procedure.

Write the method name, an opening bracket, an expression denoting the
array, a comma, an expression denoting the object, then a close bracket.

> Plz, Help me.

Be specific.

Don't expect people to do your homework for you.

Read books.

Signature

"Our future looks secure, but it's all out of our hands."     /Man and Machine/
                                                                     - Magenta

Hewlett-Packard Limited     Cain Road, Bracknell,                registered no:
registered office:          Berks RG12 1HN                       690597 England

Roedy Green - 15 Jun 2007 11:13 GMT
On Thu, 07 Jun 2007 01:12:20 -0700, indian_gaurav
<xact.solutioning@gmail.com> wrote, quoted or indirectly quoted
someone who said :

>If a wana pass an array and an object of another class as argument to
>a method, what is the procedure.

This is too elementary a problem to pester others with. Read a basic
text.  See http://mindprod.com/jgloss/gettingstarted.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.