Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.lang.reflect.Array;

public class Main {
    public static void main(String args[]) {
        char[] array = new char[] { 'a', 'b', 'c' };

        char value = Array.getChar(array, 1);

        System.out.println(value);

    }
}