MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

/*
 * Output:
 * 5
 * */
public class MainClass {
    public static void main(String args[]) {
        StringBuffer sb = new StringBuffer(40);
        sb.append(5);
        System.out.println(sb);
    }
}