Welcome to Dream.In.Code
Become a Java Expert!

Join 150,128 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 2,064 people online right now. Registration is fast and FREE... Join Now!




help

 
Reply to this topicStart new topic

help, variable length args

prajayshetty
16 Jun, 2008 - 08:02 AM
Post #1

D.I.C Head
Group Icon

Joined: 27 Apr, 2007
Posts: 230



Thanked: 1 times
Dream Kudos: 25
My Contributions
Can any one explain me this concept Varangs variable length args with a short example and a bit explanation
User is offlineProfile CardPM
+Quote Post

1lacca
RE: Help
16 Jun, 2008 - 08:56 AM
Post #2

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
Check this and this. It took about 10 seconds to find them with google, so next time please take the time and give it a try yourself.
User is offlineProfile CardPM
+Quote Post

jjsaw5
RE: Help
16 Jun, 2008 - 09:01 AM
Post #3

I must break you
Group Icon

Joined: 4 Jan, 2008
Posts: 1,633



Thanked: 8 times
Dream Kudos: 125
My Contributions
Also please read the rules and guidelines of the site before you post.

When you read them you will clearly see that we would like to you to come up with a better thread title the "help".



Google is your friend, use it biggrin.gif
User is offlineProfile CardPM
+Quote Post

prajayshetty
RE: Help
16 Jun, 2008 - 09:08 AM
Post #4

D.I.C Head
Group Icon

Joined: 27 Apr, 2007
Posts: 230



Thanked: 1 times
Dream Kudos: 25
My Contributions
QUOTE(jjsaw5 @ 16 Jun, 2008 - 10:01 AM) *

Also please read the rules and guidelines of the site before you post.

When you read them you will clearly see that we would like to you to come up with a better thread title the "help".



Google is your friend, use it biggrin.gif


ok will take care it mean that i can have n number of arguments?

This post has been edited by prajayshetty: 16 Jun, 2008 - 09:10 AM
User is offlineProfile CardPM
+Quote Post

1lacca
RE: Help
16 Jun, 2008 - 10:45 AM
Post #5

code.rascal
Group Icon

Joined: 11 Aug, 2005
Posts: 3,822



Thanked: 12 times
My Contributions
Please read the two tutorials I posted, and ask questions after that - they are really straight to the point, clear and short. If you are reluctant to show some effort, then don't be surprised if you won't receive any answers.
Also, be so kind, and only quote messages that you are referring to, and it is enough to do so, if it was several posts before your post, so it is not straightforward what are you referring to. Thank you!
User is offlineProfile CardPM
+Quote Post

prajayshetty
RE: Help
16 Jun, 2008 - 05:36 PM
Post #6

D.I.C Head
Group Icon

Joined: 27 Apr, 2007
Posts: 230



Thanked: 1 times
Dream Kudos: 25
My Contributions
thanks i got it now but i was asking is there any limit on number of args that i can take

This post has been edited by prajayshetty: 16 Jun, 2008 - 05:40 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 01:38AM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month