What are some characteristics of interference class?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Feb 22, 2018

 

  • An interface class cannot give any code at all, but only the signature.
  • It may actualize a few interfaces.
  • All strategies for an Interface are unique.
  • An Interface Class cannot have occasion factors
  • An Interface Class’s perceptibility must be open (or) none.
  • In the event that we add another strategy to an Interface, at that point we need to find every one of the usages of the interface and characterize execution for the new technique
  • An Interface class cannot contain constructors
  • Interfaces are moderate as it requires additional indirection to discover comparing technique in the genuine class

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Java 10 Interview Questions

    What is the technique adopted to create an immutable class?

    In order to create an immutable class, follow the below steps:..

    Java 10 Interview Questions

    What methodology can be utilized to link to a database?

    The following steps can be utilized to link to a database:..

    Java 10 Interview Questions

    Enlist some features of JDK.

    It represents a Java Development Kit...