Some explanation to java index