String str[];
str = {"aaa","bbb"};

って書くとEclipseがエラーを指摘してくるんだけどダメなんだっけ?

String str[] = {"aaa","bbb"};
なら何も言われない。