What is the difference between overloading and overriding a
function?

Answer Posted / sai

overloading takes place at compile time and overriding
takes place at run time.

Is This Answer Correct ?    28 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between an interface and an abstract class?

540


What is overriding in java?

522


What are variable names?

528


How will you reverse a singly-link list?

599


worst case complexities of Quick sort and Merge sort.

605






What is keyword in oop?

524


What is the main purpose of java?

515


Differentiate between stringbuffer and stringbuilder in java.

552


What does the string method compareto () do?

540


Is a method a function?

550


What are the different collection views provided by maps?

569


What are the difference between string, string builder, and string buffer in java?

555


Why chararray() is preferred over string to store the password?

528


Why lambda expression is used in java?

574


Why do we need hashset in java?

502