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

Difference between association, composition and aggregation?

543


Compare java and python.

561


What are the high-level thread states in java programming?

566


Can subclass overriding method declare an exception if parent class method doesn't throw an exception?

493


What are the different types of garbage collectors in java?

535






What are daemon Threads in java?

598


Can a hashset contain duplicates java?

484


Is node a data type in java?

485


What is the difference between path and classpath variables?

511


What is the tradeoff between using an unordered array versus an ordered array?

632


What carriage return means?

514


What is a databasemetadata?

535


What is thread safe java?

477


Can we create object of static class?

516


What is the use of inner class?

528