What is the difference between overloading and overriding a
function?

Answers were Sorted based on User's Feedback



What is the difference between overloading and overriding a function?..

Answer / rohit

overriding is used in diferent class with same parameters
overloading method :- is sem class in defintoin.
overriding method:- is subclass and super class in
definatioc

Is This Answer Correct ?    0 Yes 0 No

What is the difference between overloading and overriding a function?..

Answer / meraj ansari

this answer is correct

Is This Answer Correct ?    0 Yes 0 No

What is the difference between overloading and overriding a function?..

Answer / nishchita

In overloading 2 function should have different signature
but in overriding must have exactly same signature.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

what is the life cycle of jsp?

3 Answers   Photon,


What is string and example?

0 Answers  


Can It is possible to synchronize the constructor of a Java Class?

0 Answers  


What classes of exceptions may be thrown by a throw statement?

0 Answers  


define the terminology association.

0 Answers  






What do you mean by aggregation?

0 Answers  


What is the relationship difference the canvas class and the graphics class?

0 Answers  


What do you understand by java?

0 Answers  


How many arguments can a method have java?

0 Answers  


what is java

10 Answers  


What is a qualifier in a sentence?

0 Answers  


How many types of equations are there?

0 Answers  


Categories