What is the difference between overloading and overriding a
function?
Answers were Sorted based on User's Feedback
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 |
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 |
How many types of assembly languages are there?
What is the difference between an inner class and a sub-class?
What do you understand by casting in java language?
Explain public static void main(string args[]).
What is the range of the short datatype?
Define how can we find the actual size of an object on the heap?
What was java originally called?
long d =10;int i =0;i=d; /// is this possible? If d is very long number (10 digits or some thing) then?
What is indexof in java?
How many Java environments are there?
1 Answers Phantom Technologies,
How do you change an int to a string?
Why java is used everywhere?