Use enum class to avoid String errors.
Have you got a Logic error in String before specially in Upperletter or Lowerletter?  Here is the...
Tags: java, oop, programming, mobile