NPTEL Software Testing Assignment 9 Answer 2022
Week 9 : Assignment 9 Due date: 2022-09-28, 23:59 IST. Assignment not submitted 1 point How is overloading different from overriding in object oriented programming? Overloading occurs between two methods in the same class and overriding occurs between methods in a class and one of its descendants. Overloading occurs between a method in a class and one of its descendants and overriding occurs between two methods in the same class. 1 point Which of the following represents use of super() keyword? Sub-classes can explicitly use their parents variables and methods using the keyword super() . Sub-classes can use their own variables and methods and not the inherited ones using the keyword super() . 1 point While applying the mutation operator that deletes a method call, how is the value to be returned by the deleted method passed back to the caller method? The method itself is deleted, so the call should also be deleted in the ...