how to declare string array in java

Java
string[] abc=new string[]{"hai","hello"}


Source

Also in Java: