Skip to content

Demonstrates the usage of Interfaces and its principle.

Notifications You must be signed in to change notification settings

Sanish07/Java-Interfaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java-Interfaces

Demonstrates the usage of Interfaces and its principles. This repository includes the implementation of :

  • Interfaces : - We use interfaces to build loosely coupled, extensible and testable applications. They are similar to class but only include method declaration and no implementation.
  • Interface methods : Methods declared inside interfaces are by default public and abstract. We can't declare them static or final.
  • Interface states : Variables declared inside interfaces are by default public, static and final.
  • To have intefaces in action we make use of dependency injection.(Subtypes : Constructor, Setter and Method Injection respt.)

About

Demonstrates the usage of Interfaces and its principle.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages