/** * @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]); } }