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 |
what is method reference in java 8?
what is meant wrapper classes?
What is java literals?
As a developer what steps do you take to improve the performance?
What is overriding in java?
as we know a static method could access static data and static method only. then how could main method call the object of aclass which is not static and other non static data
Explain list interface?
What is an immutable object?
What is string subsequence method?
what is singlton class?where it is use in real time senario.
What are three ways in which a thread can enter the waiting state in java programming?
What is void keyword?