What is the difference between overloading and overriding a
function?
Answer Posted / jitesh singh
OVERLOADING is done in the same class with different
singnature or parameter pass in the function
OVERRIDING is done in different class but the signature or
the parameter is same
Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
What is a constructor, constructor overloading in java?
What is factor r?
Can we create a class inside a class in java?
What is a 16 bit word?
What is a package in java? List down various advantages of packages.
What is difference between path and classpath?
When should I use stringbuffer?
What is the use of runnable interface?
How to make a read-only class in java?
What are assembly attributes?
What is mutable object and immutable object?
Can subclass overriding method declare an exception if parent class method doesn't throw an exception?
What is queue in java?
What all methods are used to prevent thread execution ?
Is singleton a bad practice?