Distinguish method overloading and overriding
Answer Posted / anita kumari
In case of overloading signature should be different.
In case of overriding signature should be shame. Return type should be same. And acess level will be same or wider.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is vector?
Explain the polymorphism principle?
How does a for loop work java?
What is anagram of a string?
If a method is declared as protected, where may the method be accessed in java programming?
What do you mean by inner class in java?
What do you mean by hashing?
What is type safety in java?
What is collection api?
What is the meaning of variable in research?
How do you define a singleton class?
What is a modifier?
What is class level lock ?
which pattern is default in scanner package?
Is java type safe?