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 is mena by object block any what is the use of that
Explain hashset and its features?
What is int argc char * argv?
Can a singleton class be inherited?
What is a loop java?
What is java jit compilers?
Explain about the interpreter in java?
what is meant by Byte code concept in Java?
What is the += operator called?
What do you understand by private, protected and public?
What are the differences between abstract class and interface?
Break statement can be used as labels in java?
What do you understand by the term wrapper classes?
Which sort is best in java?
Can we override a variable in java?