Number of questions 1,751
Number of tests completed 250,177
Number of questions answered 3,739,532
Number of registered users 19,109
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: 7239
Incorrectly answered: 4107
Terms of Use
contact@quiznetonline.com Ver. 2.0.6783.38332