Array Copy Injava Code Example

Snippet 1

  int a[] = {1, 8, 3}; 
  
// Copy elements of a[] to b[] 
int b[] = a.clone(); 

Copyright © Code Fetcher 2020

 

 

Published

Leave a comment

Your email address will not be published. Required fields are marked *