Java Archive

How to use interfaces in your java code

An interface is a collection of method prototypes (method name followed by parameters list without any body). The syntax of a method prototype is as follows: return-type  method-name(parameters-list); An interface can contain only constants and method prototypes. The use of an interface …

Like the article? please consider sharing it. Thank you

Advertisment ad adsense adlogger