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 to find the given number is a prime number or not by getting input from the user
Can we declare the static variables and methods in an abstract class?
What is casting ?
Is zero a natural number?
What is string english?
what is the diff b/w arraylist and vector?
6 Answers Code Genesis, Genesis, Sprintine Labs,
how to crate clint-server socket?
1 Answers Accenture, Infosys, Infotech, TCS,
What are keywords in java?
What is outofmemoryerror in java?
What is a lambda expression ? What's its use ?
What is threaded programming and when is it used? : Java thread
What is the program development process?