What is the difference between overloading and overriding a
function?
Answer Posted / ankit
IN overloading the function are used in same class, they
have different parameters each time we define the funtion,
and perform the same task.
overriding is used in diferent class with same parameters.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are the data types supported by java? What is autoboxing and unboxing?
Explain creating threads by implementing runnable class?
Explain all java features with real time examples
What is a databasemetadata?
What is the use of using enum to declare a constant?
What are the rules for naming an array?
What modifiers may be used with a top-level class?
What is a nonetype?
What is a file pointer?
What are the benefits of operations in java?
What is scope & storage allocation of static, local and register variables? Explain with an example.
Why java is called not pure object oriented language?
Why put method is used?
What is the range of the short type?
Add a value x to array from index l to r where 0 <= l <= r <= n-1