Multiple choice java

Syntax of System.arraycopy method??

  1. System.arraycopy(fromarray,frominden,toarray,toindex,count);

  2. System.arraycopy(toarray,toinden,fromarray,fromindex,count);

  3. System.arraycopy(fromarray,toarray,count);

  4. System.arraycopy();

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

System.arraycopy copies array elements from source to destination. The correct syntax requires: source array, starting position in source, destination array, starting position in destination, and number of elements to copy. Option A correctly shows this parameter order.