Distinguish method overloading and overriding
Answers were Sorted based on User's Feedback
Answer / pralay
Method Overloading is functionality of java in which we can
declare many method with same name but different signature
in one class, but Overriding is a the process of declare a
method which is already define in super class, this Method
has same name and same signature as super class.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / anita kumari
In case of overloading signature should be different.
In case of overriding signature should be shame. Return type should be same. And acess level will be same or wider.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can we declare the static variables and methods in an abstract class?
What does jenkins do?
You can create a string object as string str = “abc”; why cant a button object be created as button bt = “abc”;? Explain
what is difference between type 4 driver and type 1 driver?
2 Answers CMC, CTS, IBM, JK Technosoft, Napier Healthcare,
Suppose there is a System A which gives some output. This output is used as input by system B. The rate at which System A produces is faster than the rate at which system B consumes it. How can you improve this?
What is meant by Java ?
Why scanner is used in java?
What is finally in exception handling?
What is an example of a keyword?
Why is singleton not thread safe?
What is identifier give example?
What are the three best choices for a development environment?