0
WHAT IS THE ERROR IN THE PROGRAM?
public class LongDivision { public static void main(String[] args) { final int MICROS_PER_DAY=24*60*60*1000*1000; final int MILLS_PER_DAY=24*60*60*1000; System.out.println(MICROS_PER_DAY/MILLS_PER_DAY); } }
4 Réponses
+ 2
It works😕
+ 2
I don't get an error; I just get a completely confusing output of 5.
+ 2
I got the answer
+ 1
You can't do division with constants (aka final variables) :)