Interview Questions On Interface in Java - JAVA95
Interview Questions On Interface in Java - JAVA95
Follow Us On
CORE JAVA EXCEPTION HANDLING MULTITHREADING COLLECTION ARRAY STRING PROGRAMS
JAVA95
Let's learn java programming language with easy steps
Home JAVA INTERVIEW QUESTIONS & ANSWERS Interview Questions on Interface in Java Search
Javatutorial95
852 likes
Java Interface Interview Questions and Answers
Here we are going to cover all the top most interview questions on interface in java
one by one. This article is very important for any java interview point of view.
JavaTutorial95
Now start here in detail java interface questions and answers.
Follow
15 followers
COLLECTION (21)
(8) Can an interface extend another interface? Java Number Pattern Programs (1)
MULTITHREADING (6)
(9) Can an interface extend a class? PROGRAMS (9)
No, A class can implement an interface but interface cannot extend a class. SERVLET (1)
STRING (7)
No, we cannot put static methods in interfaces because all the methods are by 2017 (114)
default public and abstract in the interface and we cannot use abstract and static September (14)
By the help of default keyword, we can keep non-abstract method in java interface Java Programs Using Final Keyword
i.e with method body{}. This is the new feature of JAVA 8. Star Pattern Programs In Java
Serialization In Java
Syntax of default keyword : What is Servlet In Java
Difference Between String and StringBuffer
interface Test
Number Pattern Programs In Java
https://javatutorial95.blogspot.in/2017/08/interview-questions-on-interface-in-java.html 2/4
9/28/2017 Interview Questions on Interface in Java ~ JAVA95
}
July (18)
}
June (18)
May (10)
(13) What is marker or tagged interface?
April (12)
Marker interface is an interface that has no data member and method like March (13)
Serializable, Cloneable, etc. February (4)
January (7)
No.
TRANSLATE
This is true.
abstract class
interface
Through the interface, you can achieve multiple inheritance.
In an interface, you can't keep non-abstract method but since java 8 it is
possible.
In an interface, fields are public, static, and final and methods are public
and abstract by default.
Like 62 Share
Share:
1 comment:
https://javatutorial95.blogspot.in/2017/08/interview-questions-on-interface-in-java.html 3/4
9/28/2017 Interview Questions on Interface in Java ~ JAVA95
Good Job, it's more useful
thanks :) :)
Reply
https://javatutorial95.blogspot.in/2017/08/interview-questions-on-interface-in-java.html 4/4