Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void main(String[] argv) throws Exception {
        StringBuffer buf = new StringBuffer("Java this is a test");

        int index = 5;
        buf.insert(index, "Developers ");
        System.out.println(buf);
    }
}