declare String in java

Java
String stringName = "your string content";
Source

Also in Java: