My question is related to Java but is quite general. When making such things as calculators I see people store the operator as a char as opposed to a string? Surely a string is easier to work with?
In said scenario are there any advantages of using char over string?