MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

/*
 * Output:
THIS IS A TEST. THIS IS, TOO.    
 */

public class MainClass {
    public static void main(String args[]) {
        String org = "This is a test. This is, too.    ";
        System.out.println(org.toUpperCase());

    }
}