Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    /**
     * get outer Class name
     * @param className
     * @return
     */
    private static String getOuterClassName(String className) {
        int idx = className.lastIndexOf('.') + 1;
        return className.substring(idx);
    }
}