Conceptual - How does arithmetic work on a basic level in Java and code in general? : Excuse me for the vagueness of the question, but I'm a relatively new programmer. How exactly does the computer know how to do arithmetic? Does every language - specifically Java, have an add, subtract, addition, subtraction, modular division class? If so, how does the class scan for the operator signs?