What is method overriding in Java?
Method overriding allows a subclass to create a method with the same name and signature but in a different class.
That's not correct. Method overriding occurs within the same class hierarchy, where the subclass modifies the behavior of a method from the superclass.
Can you explain the difference between method overriding and method overloading?