MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

/*
 * Output:
AWT.control = Ctrl
 */

import java.awt.Toolkit;

public class MainClass {
    public static void main(String[] args) {
        Toolkit tk = Toolkit.getDefaultToolkit();
        System.out.println("AWT.control = " + tk.getProperty("AWT.control", ""));

    }
}