how to creat strin arry in java code example Example: how to declare string array in java string[] abc=new string[]{"hai","hello"}