Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static void requireSameArrayLength(Object[] objects, Object[] objects_) {
        if (objects.length != objects_.length)
            throw new IllegalArgumentException("Length of two arrays are not matched");
    }
}