What are Advatages of Overloading and Overridding.

Answer Posted / raja mallela

The main advantage of overloading and overriding is,the programmer no need to worry about remembering different method names and this concepts provides dynamic memory allocations also.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are arrays primitive data types?

642


What is function and its uses?

574


Why do you canvas?

614


Can java arraylist hold different types?

498


Is sizeof a keyword in java programming?

614






Why constructor has no return type?

640


What is class level lock ?

614


When is the arraystoreexception thrown?

572


What is the benefit of using enum to declare a constant?

661


How to compare strings in java?

508


What is a conditional statement explain with example?

545


How is it possible for two string objects with identical values not to be equal under the == operator?

530


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

567


What kind of variables can a class consist?

594


When should we create our own custom exception classes?

589