Difference between overloading and Overriding. <Giving a
confusing example to test the concept.>
(also asked in PA Consultancy Group,iflex,Value
chain,IBM,CTS,Accenture, Tarang>
Answer Posted / arthi
overloading means same method name but different parameters
are passed but overriding means same method name with same
parameters passed in different classes.
| Is This Answer Correct ? | 40 Yes | 8 No |
Post New Answer View All Answers
What is java volatile?
What is the declaration statement?
What is stored procedure. How do you create stored procedure ?
How do you clear an arraylist in java?
What is the difference between dom and sax parser in java?
How does multithreading take place on a computer with a single cpu in java programming?
Which is the class in java?
Can we override the private methods?
what is a thread pool in java and why is it used?
What is the output of the below java program?
How to change the priority of thread or how to set the priority of thread?
How to optimize the javac output?
what is nested class in java?
Difference between notify() method and notifyall() method in java?
What is a data structure java?