Interface

Interface (Java)

In Java, an interface is an abstract type used to declare a behavior that classes must implement. Interfaces can only contain method signatures and constant declarations, and starting from Java 8, they can also have default and static methods with implementation. Interfaces cannot be instantiated but are implemented by classes, allowing for multiple inheritance-like behavior.

1 courses cover this concept

CSE 143 Computer Programming II

University of Washington

Summer 2022

This course is a continuation of CSE 142, focusing on manipulating data, implementing data structures, and learning about algorithms in Java. It delves into abstract data types, recursion, inheritance, and more.

No concepts data

+ 34 more concepts