JAVA Exercise: Create a basic calculator in Java that can perform addition, subtraction, multiplication, and division.
Difficulty: ★★★★