Interface In Java Programming – An Example

An interface in java is a collection of abstract methods and constant identifiers. There are no defined methods and  no fields. From that definition, if a class provides method definitions for an interface’s methods, the class is said to implement the interface. The class may also define other methods. In this post, we will see how to use an interface in java.

interface in java

The Example – An Interface In Java

In this example, we will create an interface called Employee for all the employees in a company. The information read in for each employee in question consists of employee’s name and gross pay. So, we need to list the responsibilities of the interface that will help us define the methods’ specifications. In other words, the responsibilities means the services provided to users of any class that implements the Employee interface. So here they are:

jQuery Interview Questions You Should Know

Today, I am sharing jQuery interview Questions you should know especially if you are preparing for a job interview. There are several questions but I will only share some for now and save the remaining ones for later posts.

jquery interview questions

Before we look at some questions, it is important to know that if you don’t know an answer to a question during any type of job interview including jQuery interviews, it is good to say that you don’t know the answer instead of making stuff up. Now that we have that honesty piece out of the way, let us enter the jQuery interview questions part: