What method gets called when you add two numbers in java? For example, in python when you do a + b, a.__ add __(b) gets called.
            Asked
            
        
        
            Active
            
        
            Viewed 74 times
        
    0
            
            
        - 
                    3Time to look at the bytecode – Hovercraft Full Of Eels Dec 24 '20 at 15:01
 - 
                    3There is no such thing in Java. Next step is bytecode – Maksym Rudenko Dec 24 '20 at 15:01
 - 
                    2`iadd` is the bytecode command for int addition – Hovercraft Full Of Eels Dec 24 '20 at 15:05
 - 
                    Primitives don't use methods for basic arithmetic. You cannot override basic operators (like +, -, *, etc.). – NomadMaker Dec 24 '20 at 16:30