What restrictions are placed on method overloading and
method overriding?
Answer Posted / javaguy
About said are absolutely correct. I would like to add some
more to method override.
The class/program who is overriding method should have
orverriding method visibility / access modifiers should be
same are greater but should not be lower.
Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
Give us a program to check for parenthesis matching using stack.
What language is pass by reference?
Which is better singleton or static class?
How will you load a specific locale?
What are the classes of java?
What is difference between null and void?
How do you download stubs from Remote place?
What is java and why do we need it? Explain
Explain about data types?
What are some alternatives to inheritance?
what are synchronized methods and synchronized statements? : Java thread
Explain about instanceof operator in java?
What is java command?
What is constructor and virtual function? Can we call a virtual function in a constructor?
What does bitwise or mean?