Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
// License as published by the Free Software Foundation; either

import java.util.Stack;

public class Main {
    /**
     * Type-safe initializer.
     */

    public static final <K> Stack<K> newStack() {

        return new Stack<K>();
    }
}