What are Advatages of Overloading and Overridding.
Answer Posted / pooja srivastava
Overloading means same functions but different arguments..
so with overloading we can take new action with diff
parameters..
Overriding means same methods with same argument and same
prototype...
so with overriding we can create new definatin in subclass
with same method name and prototype..
| Is This Answer Correct ? | 38 Yes | 8 No |
Post New Answer View All Answers
How to pass arraylist to stored procedure in java?
What is classname class in java?
What are parsers? Dom vs sax parser.
Explain method overloading?
Why are there no global variables in java?
What is the use of using enum to declare a constant?
Differentiate between the constructors and methods in java?
Where are global variables stored?
Explain serialization and deserialization in java?
What is a vararg?
What is primitive array?
What is difference between Heap and Stack Memory?
What is the purpose of using the java bean?
What does @override mean?
What is the list interface?