what is the purpose of method overriding in java where v r
completely re-defining a inherited method instead y can't v
create a new method and define.If the question is very silly
plz excuse me and do reply.Thank U!

Answer Posted / sadikhasan palsaniya

we can change default behavior of super class method by
overriding that method into the subclass.

Is This Answer Correct ?    17 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the meaning of nullable?

576


Explain wrapper classes in java?

534


Why method overriding is used?

541


Explain JMS in detail.

616


How large is a boolean?

555






What are synchronized methods and synchronized statements in java programming?

574


What is final keyword?

646


What are exception handling keywords in java?

609


What Is Composition?

583


Is it possible for yielded thread to get chance for its execution again ?

553


When we serialize an object does the serialization mechanism saves its references too?

508


What is the access scope of protected access specifier?

539


Is null or empty java?

533


What is the difference between serial and throughput garbage collector?

585


Can a final variable be manipulated in java?

533