Interface (object-oriented programming)

Interface (object-oriented programming)

In object-oriented programming, an interface is a data type that represents a set of method signatures that can be implemented by multiple classes. It allows objects to be accessed and interacted with through the defined methods without needing knowledge of their internal structure. Some programming languages have built-in support for interfaces, while others rely on conventions or other constructs like type classes or module signatures.

1 courses cover this concept

CSCI 0150: Introduction to Object-Oriented Programming and Computer Science

Brown University

Fall 2022

CS0150 introduces Computer Science via object-oriented design and programming using Java and JavaFX for creating interactive programs with GUIs. Concepts like data structures, algorithms, and computational efficiency are explored. Practical exercises include engaging programming assignments like Doodle Jump and Tetris. The course is designed for all, requiring no prior knowledge.

No concepts data

+ 19 more concepts