What is the interface in the Java interface associated with?

I am trying to learn basic object oriented programming in Java. I was curious to know what the beginning of the word interface is, if there is any documentary description. In addition, I tried to understand what this means by thinking of a general concept like

The point at which two systems, objects, organizations, etc. meet and interact.

I got this definition from a Google search. What are the two systems / entities that interact? Or maybe my analogy is used inappropriately? So far, I see this as a skeleton for defining methods and property loops.

+4
source share
3 answers

( ), , .

, , "" , , . .

, 3 , 3 : , . (mp3-, , ), : , .

, . : X, , .

, , .get(...) .values ​​() .keySet(). , AudioStream, .

, , , . , , , , .

+3

An interface (, name:) ( ) . .

JLS Chapter 9 :

, , , . ; . .

, , .

+3

(.. , ) . , .

"Two systems" (you requested) is code that implements the interface and code that references it.

+2
source

All Articles