101k views
3 votes
Java supports ________; collections of related methods that typically enable you to tell objects what to do, but not how to do it (we’ll see an exception to this in Java SE 8).

User Cjg
by
5.0k points

1 Answer

3 votes

Answer: Interfaces

Step-by-step explanation:

We have the interfaces in java which contains abstract methods. So whenever we use interface in java we need to override all the abstract methods of the interfaces. Some examples of interfaces are:

mouselistener(), Eventlistener().

User Collimarco
by
5.3k points