Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void main(String args[]) {
        char charArray[] = { 'j', 'a', 'v', 'a', '2', 's', '.', 'c', 'o', 'm' };
        System.out.printf("part of char array = %s\n", String.valueOf(charArray, 3, 3));

    }
}