Contains method is an important string class method which checks whether specified parameter string exists in the string or not
www.java-samples.com