Java access element of an Array

https:‮ww//‬w.lautturi.com
Java access element of an Array
/**
 * @author lautturi.com
 * Java example: access elements of an Array 
 */

import java.util.*;

public class Lautturi {

	public static void main(String[] args) {
		
		String[] strArray = {"hello","lautturi","java","python","world","lau"};
		
		// use array[index] to access array element
		
        System.out.println(strArray[2]);

	}
}
Created Time:2017-09-09 14:26:04  Author:lautturi