Math is a class, on which abs is a static method. System.out is a static field rather than a class. So its println method isn’t actually a static method, but an instance method on a static field.
Math is a class, on which abs is a static method. System.out is a static field rather than a class. So its println method isn’t actually a static method, but an instance method on a static field.