String is not data type ,it is class
It is defined under java.lang package.
string is a sequence of characters but it is not a primitive type.
When we create a string in java, it actually creates an object of type String.
string is an immutable object which means it is constant and can cannot be changed once it has been created.

Different Ways to Create String

1)Using string literal
2)Using new keyword



Plot number-56/1
Near Gurudwara
LandMark :
Opposite A.N.D college
Govindpuri Metro station
New Delhi
Mobile number: