OOP

What is the difference between OOP and Functional programming

Parameter Object Oriented Programming Functional Programming Definition A programming paradigm based on the concept of objects which contains data in the form of fields called attributes and code in the form of methods A programming paradigm based on the concept of procedure calls Paradigm Approach Bottom-up Approach Top-down Approach Data Control In OOP data in …

What is the difference between OOP and Functional programming Read More »

What is the difference between overloading and overriding in OOPs?

Description Overloading Overriding Achieved It is achieved by having different methods with the same name and different signature It is achieved by redefining the method in the sub class. The class is originally defined in the super class. Same The methods names are the same. Only the signature varies. The method definition (name) including the …

What is the difference between overloading and overriding in OOPs? Read More »