Browse Today's favorites or All time favorites.
Please Sign In or Register to share and submit your questions.
Java Queries
Complete java interview questions library
Home » Interview Questions » Core Java Interview Questions » How to define an Interface?
How to define an Interface?
In Java Interface defines the methods but does not implement them. Interface can include constants. A class that implements the interfaces is bound to implement all the methods defined in Interface.
Emaple of Interface:
public interface sampleInterface {
public void functionOne();
public long CONSTANT_ONE = 1000;
}
Questions to Ask in an Interview
Remember to ask questions that are relevant to the company and position for which you are interviewing.
- What are some of the common characteristics of employees that excel in this environment?
- Would you please comment on your style of management and the reporting structure?
- What is yo
Write a comment