OOPS Archive

Difference between abstract class and interface

Difference between abstract class and interface Before list the difference between abstract class and interface we need know little bit about them.Difference between abstract class and interface. Abstract class is a class that can not be instantiated. It is only inherited by other class. An abstract class has abstract methods. In other words, A class

what is OOPS

Object-oriented programming¬†(OOP) is a programming paradigm based on the concept of “objects”, which are data structures that contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods. Object Class Inheritance Polymorphism Abstraction Encapsulation