Task: Implement a small string utility to support isEmpty and isBlank checks
What to implement
Create a new final utility class StringUtils in the app project that provides two public static methods:
boolean isEmpty(String s)
boolean isBlank(String s)
Required behavior (to satisfy the tests)
isEmpty(null) should return true
isEmpty("") should return true
isEmpty(" ") should return false
isEmpty("\n") should return false
isEmpty("\t") should return false
isEmpty("Bilo šta!") should return false
isBlank(null) should return true
isBlank("") should return true
isBlank("\t\t\t\n\r") should return true
isBlank("Bilo šta!") should return false
Implementation details
isEmpty should return true only when the input is null or its length is 0; it should not trim or treat whitespace as empty.
isBlank should return true when the input is null or when, after removing whitespace, the string is empty. A straightforward approach is to use s.trim().length() == 0.
Both methods must be static and public.
Place the class under the appropriate package in /app/src/main/java, e.g., /app/src/main/java/com/example/util/StringUtils.java with a corresponding package declaration (adjust package to fit the project structure).
Notes
Do not modify existing tests.
The implementation should be standalone, with no external dependencies beyond the JDK.