" mean in an interface?" />
F
F
foonfyrick2020-08-06 10:53:56
Java
foonfyrick, 2020-08-06 10:53:56

What does "<>" mean in an interface?

There are 2 interfaces
interface One{}
interface Two{}
Each interface has its own methods, but for the first time I met that something was written in triangular brackets in the interface, while writing the variable T through a dot, no methods are available.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Solomennikov, 2020-08-06
@foonfyrick

Generics

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question