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

How do you do descending order in java?

516


What are adapter classes?

595


What are synchronized methods and synchronized statements in java programming?

564


How many types of design patterns are there?

523


How do you write methodology?

554






Explain restrictions on using enum?

620


What does flag mean in java?

531


What is void in java?

579


What is meant by class loader? How many types are there? When will we use them?

497


How are the elements of a gridbaglayout organized in java programming?

511


What is array pointers ?

599


If try block is successfully executed, Then Is Finally block executed?

602


What are different data types?

561


Name four container classes.

547


List some java keywords sun like c, c + + keywords?

581