This week's book giveaway is in the
Agile and other Processes
forum.
We're giving away four copies of
The Mikado Method
and have Ola Ellnestam and Daniel Brolund on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
string array varargs
akila sekaran
Ranch Hand
Joined: Jun 12, 2012
Posts: 48
posted
Sep 08, 2012 21:50:29
0
is
String
...[] args a legal one ?
Alexei Kaigorodov
Greenhorn
Joined: Feb 24, 2008
Posts: 17
posted
Sep 09, 2012 02:14:48
0
akila sekaran wrote:
is String...[] args a legal one ?
No.
gurpeet singh
Ranch Hand
Joined: Apr 04, 2012
Posts: 867
I like...
posted
Sep 09, 2012 02:41:50
0
akila sekaran wrote:
is String...[] args a legal one ?
this is not correct syntax. but String[]...args is a correct syntax for var-args of String arrays. but if you try to do this
public static void main(String[]...args) // will give Error. violates the signature of main method
OCPJP 6(100 %) OCEWCD 6(91 %)
I agree. Here's the link:
http://aspose.com/file-tools
subject: string array varargs
Similar Threads
date format with MS Access database
hello...I need only help....in this question
Tech Word Game
WA #1.....word association
ResultSet to Array
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter