Explain method overloading and overriding?

Answer Posted / ravikiran(aptech mumbai)

method overloading is the type of polymorphism with a
different argument list and same method name and can takes
place inside the same class only

method overriding is the process of writing a different
functionality having the same method signature

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about join() method?

715


Why does java does not support multiple inheritance? Explain

718


What is port number in java?

778


how can i use a nonsynchronized hashtable?

2304


What is the meaning of variable in research?

750


What type of value does sizeof return?

744


What is the largest number a double can hold?

762


Name some classes present in java.util.regex package.

787


Is java a virus?

711


Can we sort a map in java?

749


Why do we need strings in java?

676


How many bits is a string?

724


What are the types of methodology?

745


Does variable declaration allocate memory?

774


What is parsing a sentence?

742