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 the difference between a vector & an array list?
What is a nullable field?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
What is a java list?
What is advantage of java?
What is the difference between sop and work instruction?
How do you create a bulleted list?
Explain about transient variables in java?
What is a for loop in java?
What is difference between Heap and Stack Memory?
What state is a thread in when it is executing?
What is a marker interface?
how to write a server program and sending the mails to the server using smtp protocol please help me
What java is used for?
What is the Concept of Encapsulation in OOPS