what is overloading and overriding with example?
Answer Posted / rajesh r
OVERLOADING MEANS SAME METHOD NAME WITH DIFFERENT
PARAMETERS.
BOTH SHOULD BE DEFINED IN SAME CLASS ITSELF.
OVERRIDING MEANS SAME METHOD NAME WITH SAME PARAMETERS.THIS
CAN ASSOCIATED IN A CLASS AND ITS SUBCLASS.(VIRTUAL,
OVERRIDE)
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is immutability in java?
What is java developer skills?
What is prefix of a string?
What methodology can be utilized to link to a database?
Why synchronization is important in java?
Explain about field hiding in java?
Can you instantiate the math class in Java?
Do I need java on my pc?
Can you explain the private protected field modifier?
Is char * a string?
What is the difference between yield() and sleep()?
What is the same as procedures?
What about main thread in java?
How long will it take to learn java?
What is hash in java?