There are various ways you can create a String Object in Java:
Using String literal
You can create String objects with String literal
String str="Hello!";
Using new keyword
This is the common way to create a String object in java
String str1= new String("Hello!");
Using character array
You could also convert character array into String here
char ch[]={ 'H','e','l','l','o','!',};
String str1=new String(ch);