Strings and numbers in Java

In Java there are multiple ways to manipulate both strings and numbers to work in a manner that is required. These methods can play a vital role in the business logic of a system.

For example: Say you have a list of 100 books and you need to provide the functionality to search for a book. Without being able to manipulate a String the user would always have to search for the full title of a book and ensure that every letter’s case, matches that of the title.

Java has built in methods to assist with just these kinds of situations.

Manipulating Strings

On the other hand, being able to manipulate numbers is critical to most systems.

Manipulating Numbers


RAW CONTENT URL