What restrictions are placed on method overriding in Java Programming?
Submitted by: AdministratorOverridden methods must have the same name, argument list, and return type. The overriding method may not limit the access of the method it overrides. The overriding method may not throw any exceptions that may not be thrown by the overridden method.
Submitted by: Administrator
Submitted by: Administrator
Read Online Java Job Interview Questions And Answers
Top Java Questions
☺ | Does garbage collection guarantee that a program will not run out of memory? |
☺ | What is synchronization and why is it important in Java Programming? |
☺ | What is the Locale class in Java Programming? |
☺ | Can a lock be acquired on a class in Java Programming? |
☺ | Does a class inherit the constructors of its superclass in Java Programming? |
Top Java Programming Language Categories
☺ | Core Java Interview Questions. |
☺ | Hibernate Interview Questions. |
☺ | Advanced Java Interview Questions. |
☺ | IBM WebSphere Interview Questions. |
☺ | Spring Framework Interview Questions. |