Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within EJB and other Jakarta /Java EE Technologies
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
EJB and other Jakarta /Java EE Technologies
About The Java EE 7 Tutorial Volume 1 and Volume 2.
Rafael Morales
Greenhorn
Posts: 24
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi to all.
My question is the next:
Is true that you can now do this?:
myMethod(1,2,3,4,5,6); myMethod(); myMethod(1,2,3); myMethod(1); public void myMethod(arrayOfInt...){ //arrayOfInt is an array with the values passed }
I really need a copy of the book
Best Regards!!!
Kim Haase
Author
Posts: 5
5
posted 9 years ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
Well, actually, since your question is about varargs, which are part of the
Java
SE platform, not the Java EE platform, you may want a copy of the latest edition of the Java Tutorial,
The Java Tutorial: A Short Course on the Basics (5th Edition)
.
You can also find the information at
http://docs.oracle.com/javase/8/docs/technotes/guides/language/varargs.html
.
Kim Haase
Technical Writer, Oracle Corporation
I've never won anything before. Not even a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
The method is undefined for the type
Enhanced For loops - is it possible to modify as we traverse
array read from left to right or right to left?
Strange recursive method call! ???
Need help to understand Most Specific Method.
More...