Interface in Java - things to remember

Tutorials Shared by the Internet Community

Advertisements


Synopsis

interface in Java is keyword which is used to declare abstract contracts. like abstract class you can not create instance of interface instead in orde

Statistics

  • Total Hits - 18962

  • Total Votes - 98 votes

  • Vote Up - 42 votes

  • Vote Down - 56 votes

  • Domain - javarevisited.blogspot.com

  • Category - JAVA/Core JAVA

  • Submitted By - Javin Paul

  • Submitted on - 2012-07-21 05:19:38

Description

interface in Java is keyword which is used to declare abstract contracts. like abstract class you can not create instance of interface instead in order to use interface you need to implement it and its implementation is where code resides. interface is great tool to define type hierarchy for flexible design in Java ...


Site  |   Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down

Advertisements