What are Advatages of Overloading and Overridding.
Answer Posted / arun lal
Method Overloading Advantage- Suppose we make a calculator program after some time we want change or add some new feature
then we overload the method, So we can reuse the our previous code and Can Add new .
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Can memory leak happen java?
What are exception handling keywords in java?
How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply?
Write a program to print 15 random numbers using foreach of java 8?
What is the difference between int and integer in java?
Which method must be implemented by all threads?
Can string be considered as a keyword?
what is method reference in java 8?
Why wait and notify methods are declared in object class?
What is adapter in java?
When will you define a method as static?
I am unable to find or learn about print command. I have a graphical program in core java in applet but i want to give print command but i have coding for that so if anyone know about this plz mail me on avdhesh_chauhan007@yahoo.co.in
What is xslt in java?
What is the purpose of garbage collection in java? When is it used?
What environment variables are required to be set on a machine in order to run Java programs?