Can we change the scope of the overridden method in the subclass?
Answer / Ritika Kapoor
No, we cannot change the access modifier (scope) of an overridden method in the subclass. The access modifier of an overridden method must be equal to or more accessible than that of the original method in the superclass.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why arraylist is not synchronized in java example?
Is a boolean 1 bit?
How many Java environments are there?
1 Answers Phantom Technologies,
why java does not support multiple inheritance
41 Answers Diamond, Euclid, Evergent, KLKJ, Mind Tree, NIIT, SSI Small Scale Industries, Wipro,
Can memory leak happen java?
Can we override the static method?
what is meant by Garbage collection?
Can we extend singleton class in java?
What is the multi-catch block in java?
What is use of inner class in java?
What is n in java?
What is data structure in java?