Looking at your Example Blatz appears to add no value. Just pass a char around (or the Character wrapper whatever that is in java - I hate those wrappers) Having Bar take a function from char to ...
Learn how to use statements like if, if-else, switch, for, and while to declare variables and specify expressions, make decisions, iterate over statements, and more. Java applications evaluate ...