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 / mariyappan
overloading is the process of defining the same function
with different parameters.which can be defined within class.
overriding is the process of defining the function name in
the more than one classes.
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How do I know if java is installed?
How can you say java is object oriented?
What happens to a static var that is defined within a method of a class?
Where pragma is used?
What is the use of put method?
What is the use of java?
what is the difference between thread and runnable types? : Java thread
Why declare Main() inside the class in java ?
What is mean by collections in java?
Why to use nested classes in java?
What is the primary benefit of encapsulation?
What is ++ a in java?
What do you mean by data type?
Find the value of a specified element of the array arr[i] where 0 <= i <= n-1
What is finalize()?