how to decalre string in java code example Example: how to make a string java String newString = "Hello World";