Run ❯
Get your
own Java
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
public class Main { public static void main(String[] args) { System.out.println(Math.negateExact(15)); System.out.println(Math.negateExact(-32)); System.out.println(Math.negateExact(7)); System.out.println(Math.negateExact(-25)); } }
-15
32
-7
25