title: Checking whether a String contains a number value in Java
body: <p>How can I write a method to find whether a given string contains a number? The method should return true if the string contains a number and false otherwise.</p>