Answer Posted / harish
Interface is nothing but an unimplemented class. It
contains the method signatures. The method access
specifier may be abstract. The sub class should implement
all the methods, which are defined in the Interface. If
you don?t implement any method that class should be an
abstract class. Using Interface, It enforces the sub
classes to implement the same. So that, you can create an
instance of any sub class.
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What are the two types of java?
Explain 5 features introduced in jdk 1.7?
What is the scope or life time of instance variables?
How do you escape sequences in java?
What are the disadvantages of object oriented programming?
Difference between object and reference?
What is variable length arguments in java?
what is the use of pojo (plain old java objects)? how it is interact with crystal reports? pls urgent
How can we make a class virtual?
Explain about map interface in java?
What do you understand by private, protected and public?
What are "methods" and "fields"?
Which command from the jdk compiles a java program?
what do you mean by classloader?
What is Java Reflection API? Why it’s so important to have?