Computer Science, asked by manu2607, 11 months ago

When a method overrides the method in the parent class, which of the following are valid ?
u
It can throw any of the exceptions thrown by the overridden method
It can throw no exceptions.
It can throw sub classes of the exceptions thrown by the overridden method
It can throw super classes of the exceptions thrown by the overridden method
LE!​

Answers

Answered by radhasanjana28
53

Answer:

a,b,c

Explanation:

It can throw any of the exceptions thrown by the overridden method

It can throw no exceptions.

It can throw sub classes of the exceptions thrown by the overridden method

Answered by edupilot004
1

Answer:

The correct answer is It can throw any of exceptions thrown by overridden method, It can throw no exceptions and It can throw sub classes of exceptions thrown by overridden method.

Explanation:

When the method overrides the method the object of the parent class will go beyond to revoke the method and parent class version will get executed successfully.

Few programming languages will provide a programmer to avoid the method that is executed from becoming overridden.

Overrriden is used in object oriented programming concepts of programming languages such as c, c++, Python, Java and Javascript.

#SPJ3

Similar questions