Operators
Math (+ - * / %), comparison (== < >), logical (&& || !), and string equality (.equals).
Simple enough for a 5-year-old to understand
Math
public class Main { public static void main(String[] args) { System.out.println(7 % 2); System.out.println(7 / 2); System.out.println(7.0 / 2); }}🎯 Exercise & Practice
Test what you've learned — answer, write code, check instantly. (1 left)
🎯 Expected output: 3