Domanda di colloquio di Northcorp Software

oops concept,method overriding,method overloading, inheritance

Risposta di colloquio

Anonimo

6 feb 2020

*Oops Concepts-1.Class 2.Objects 3.Inheritance 4.Polymorphism 5.Abstraction 6.Encapsulation 7.Asspciation 8.Aggregation 9.Composition *Method Overriding-Method overriding means having two methods with the same method name and parameters.One of the method is in the parent class and the other is in the child class. *Method Overloading-Method overloading occurs when two or more methods in one class have the same method name but different parameters. *Inheritance-It is an oops concept in which one object acquire the properties and behaviours of the parent object.It's creating a parent-child relationship between two classes.

1