Monday, April 23, 2018

How to declare an interface ?

  1. interface MyInterfaceExe {
  2. // Any number of final, static fields / variables
  3. // Any number of abstract method declarations
  4. }
we must use interface keyword to declare an interface followed by identifier name.

No comments:

Post a Comment

Blueprint for self-improvement

To learn faster: Make the process fun To understand yourself : Write To understand the world better : Read To build deeper connection : Lis...