Number of questions 1,751
Number of tests completed 252,581
Number of questions answered 3,766,821
Number of registered users 19,177
Sign In | Register
Skip Navigation Links
Question: How is method overriding different from method overloading?
Answer1: Overriding a method simply involves having another method with the same name within the class
Answer2: When overloading a method, you change the behavior of the method for the derived class
Answer3: When overriding a method, you change the behavior of the method for the derived class
Answer4: Overriding is the action of defining multiple methods with the same name, but with different parameters
Answer5: None of the above
Answer: When overriding a method, you change the behavior of the method for the derived class

Explaination: When overriding a method, you change the behavior of the method for the derived class. Overloading a method simply involves having another method with the same name within the class.
Link: External Explaination

Correctly answered: 7502
Incorrectly answered: 4339
Terms of Use
contact@quiznetonline.com Ver. 2.0.6783.38332