Interfaces are a way of achieving abstraction in Java. It is blueprint of a class. Following points are important when we talk about interfaces. IS-A relationship Interface defines a type for an object. So, objects of a class represent IS-A relationship with the interface it implements. Let’s understand this with an example. Suppose, we have … Continue reading Interfaces in Java
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed