Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    private static Class<?>[] classess(Object[] args) {
        Class<?>[] result = new Class<?>[args.length];
        for (int i = 0; i < args.length; i++) {
            Object z = args[i];
            if (z != null) {
                result[i] = z.getClass();
            }
        }
        return result;
    }
}