What is method Overriding in the perspective of OOPS?

Answer Posted / nisha singh

we can make the same method ,with same parameter is method
overriding can inherit the base class by using overrides
keyword.in base class we use virtual keyword nd in derive
class use override keyword

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 types of control structures?

606


What are parameters in a method?

677


What is procedure overloading?

1888


Explain the difference between the public, private, final, protected, and default modifiers?

641


What does t in java mean?

620






Are floats faster than doubles?

662


How many bits are in a sentence?

683


Can you change array size in java?

623


Can we execute java program without main method?

601


Describe string intern() methodology

688


What restrictions are placed on method overriding?

732


What are the special characters?

628


What is the difference between sop and work instruction?

579


What is the purpose of methodology?

735


What is sleep method?

704