Hello,
When I use byte and short for number method, I have an error. (when I change byte to int and short to int, the problem was fixed)
Thanks
Image:
https://ibb.co/ZWY0QSq
and error is:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method number(byte, long, double, short, short) in the type MainClass is not applicable for the arguments (int, long, double, int, int)
at MainClass.main(MainClass.java:9)