aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes arrays Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "arrays" Watch "arrays" New topic
Author

arrays

adam Lui
Ranch Hand

Joined: Sep 03, 2007
Posts: 186
"when both source type and target type are arrays, the elements of both arrays must be object reference types and not primitive types. also, the object reference type of the source array must be (implicitly) convertible to the object reference type of the target array."

can anyone pls give any example?

i dont get the points here at all!
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18990
    
  40

i dont get the points here at all!


Well, since we don't have the context. We don't get the point that this is referring to either.


As a guess, this is describing the two parameters to a method. And the restrictions on those parameters, which are...

- Both parameters must be array of Objects.
- The elements of the source array must be the same as elements of the target array, or a subclass of elements of the target array.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: arrays