Operators

Introduction

Java uses the standard mathematical operators for addition (+), subtraction (-), multiplication (*), and division (/). Java uses (==) to test if the value on the left is equal to the value on the right and (!=) to test if two items are not equal.


Do all of those operators do what you expected? What about 2 / 3 prints 0?