explain about method overloading and method overriding with
difficult examples
Answer Posted / andrea
overloading
two or more methods will have same name but different
arguments. it will be in same class.
overriding
two or more methods will have same name and same
number of arguments but in different classes
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
Define packages in java?
How are variables stored in memory?
Why is serialization required?
When can we say that threads are not lightweight process in java?
What is the generic class?
Where we write javascript code in html page?
Explain 5 io best practices?
What is the meaning of flag day?
What is singleton service?
Explain features of interfaces in java?
What are kinds of processors?
What is the purpose of a transient variable?
How the interruptible method gets implemented?
How does split work in java?
How is hashset defined in java?