format of merging two arrays in java
no spam...or else it will be reported definitely
Answers
Answered by
2
Answer:
public class MergeArrayExample3.
{
public static void main(String[] args)
{
int[] firstArray = {56,78,90,32,67,12}; //initialized array.
int[] secondArray = {11,14,9,5,2,23,15};
int length = firstArray.length + secondArray.length; //add the length of firstArray into secondArray.
Similar questions
English,
2 months ago
English,
2 months ago
Math,
2 months ago
Social Sciences,
11 months ago
English,
11 months ago