KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've just acknowledged dot notation for method declaration with multiple arguments like this: public function getURLs(URL... urls){ for(int i = 0; i < urls.length; i++){ // walk through array of arguments } } And using like this getURLs(url1, url2, url3); where those method arguments are converted implicitly into URL[] urls Did I understand its behavior properly? Where is documentation to this syntax? From which version of JRE (J2ME,J2SE,Dalvik) is this supported?
Tags (comma-separated)
Save Edits
Cancel