what is mean by overriding in which situation we wil use?

Answer Posted / rishi

Whenever we use same mathod with the same signature that we
call mathod overloding and we use it, when we use
inharitence or abstract class.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

689


What is the difference between a static and a non-static inner class in java programming?

525


Name component subclasses that support painting in java programming?

630


How do you convert an int to a string in java?

541


How we can make copy of a java object?

648






Which list is sorted in java?

580


How do you sort a set in java?

514


What is bigger kb or mb?

583


What is the difference between a vector & an array list?

674


What is the difference between heap memory and stack memory?

613


What is the definition of tree ?

585


What does singleton mean in java?

508


What is parseint?

529


What is the main purpose of serialization in java?

525


How many types of string data types are there?

553