Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {

    public static void main(String[] arg) {
        StringBuffer aString = new StringBuffer("ABCDE");

        String phrase = "abced";
        StringBuffer buffer = new StringBuffer(phrase);

        System.out.println(aString);
        System.out.println(buffer);
    }

}