Code Pumpkin

Tag Archives: Interface

Marker Interface Interview Questions

December 12, 2017
Posted by Abhi Andhariya

The interface in java is a mechanism to achieve abstraction and it is one of the most discussed topic in entry and mid level java developer interviews. In our previous articles, we have seen various interface related topics like Interface Evolution in Java, Difference between interface and abstract class and Functional interface in java 8. In this post, we are going to […]

Interface vs Abstract class in Java

July 7, 2017
Posted by Abhi Andhariya

Interface has been evolved a lot in last two releases of java. Refer interface evolution in java for the same. However, there are still many differences between interface and abstract class. It is one of the most asked interview questions for entry level java developer interviews. Even though both are used to achieve abstraction in java, there are significant differences […]

Default Method In Interface | Java8

May 13, 2017
Posted by Dipen Adroja

In this article, we will discuss Default Method in interface which was introduced from Java8. This feature allows developer to add new methods to the interfaces without breaking the existing implementation of these interface. It provides flexibility to allow interface to define implementation which will will be used when concrete class does not provide an implementation […]

Private methods in Interface | Java 9

April 20, 2017
Posted by Abhi Andhariya

In this article, we will see another JDK9 feature i.e. Private methods in Interface.  Everybody knows how humans have evolved from apes, but do you know how did interfaces evolve in Java?  Before reading about any Java 9 Features, it would be good if you can think about what are those possible reasons which encouraged Oracle […]

Java 9 Features

April 17, 2017
Posted by Abhi Andhariya

Java 9 has been released on 21st Sept, 2017. In this article we will look into some of the most awaiting java 9 features with examples. You can download JDK 1.9 from here based on your OS Platform requirements. Some of the important java 9 features are: JShell: The Java Shell (Read-Eval-Print Loop) Convenience Factory Methods […]

Total Posts : 124
follow us in feedly

Like Us On Facebook