Explain Overriding?
Submitted by: AdministratorIt happens in inheritance, when base class has a fucntion called "int sum(int a ,int b)" and the derived class also has the function "int sum(int a ,int b)".in this case we cannt access the base class class function by just creating an object of derived class.
If the base class function has the keyword Virtual then it means that the function should be overrided and we use the keyword Override.
Submitted by: Administrator
If the base class function has the keyword Virtual then it means that the function should be overrided and we use the keyword Override.
Submitted by: Administrator
Read Online Placement Assistance Job Interview Questions And Answers
Top Placement Assistance Questions
☺ | Accenture HR Interview Questions: |
☺ | Interview procedure for Non-voice tech support: |
☺ | What are the questions for ISRO interview in Maths? |
☺ | How to prepare for ISRO Interview: |
☺ | GE Interview Procedure and Written test Pattern: |
Top Basic Job Categories
☺ | Targeted Selection Interview Questions. |
☺ | Business intelligence Interview Questions. |
☺ | Puzzles Interview Questions. |
☺ | Behavioral Interview Questions. |
☺ | Freshers Graduate Interview Questions. |