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 range of the short type?

571


What is the use of static class?

537


Can we call the run() method instead of start()?

581


What is an example of procedure?

507


What is string immutability?

533






Can we use both this () and super () in a constructor?

539


How do you convert int to char in java?

567


How define set in java?

503


Detail discussions on JVM, memory management and garbage collector.

548


What is public/private protected in java?

536


what do you mean by java annotations?

538


What is the default size of load factor in hashing based collection?

554


What is an 8 bit word?

585


What is method in java ?

616


What is the difference between access specifiers and access modifiers in java?

565