What are Strings in Java?
A String is a Sequence of Characters. String is a class in java which is a non mutable(i.e which cannot a change),
Creating a string object there are 2 ways
String s =" Hello" (Creating string using Assignment operator)
String s = new String("Hello") (Creating string similar to objects are created)
new is operator in Java
Some of the important methods of...
Sunday, 1 April 2018
April 01, 2018