An interface (also known as a protocol) is an inventory, or list, of method signatures that are similar in nature to a class, but do not have any functionality, behavior, or actual code written into them. Watch this programming tutorial about using interfaces in order to understand how to use interfaces.
- View Offline
Related to the idea of Inheritance is a concept supported by many…object-oriented languages which usually referred to as an interface.…Now this can get a little puzzling because the word Interface is heavily used in…computing and has several different meanings.…But the term here does not mean user interface.…What we are talking about here in this discussion is something that's…actually created very similar to a class but with no actual functionality,…no actual code, no behavior.…It's really just a list of method signatures.…
In Java an interface would be written something like this, just the word…interface instead of class.…Give it a name. I am calling it Printable, and then two method signatures…with absolutely no functionality, you're not allowed to put functionality…inside an interface.…Now you might think, well, what's the point of this?…Well, the idea is that if we create a new class and then choose to use an…interface--and the term we use is implementing an interface--it's like signing a contract.…
Let Simon Allardice introduce you to the terms—words like abstraction, inheritance, polymorphism, subclass—and guide you through defining your requirements and identifying use cases for your program. The course also covers creating conceptual models of your program with design patterns, class and sequence diagrams, and unified modeling language (UML) tools, and then shows how to convert the diagrams into code.
- Why use object-oriented design (OOD)?
- Pinpointing use cases, actors, and scenarios
- Identifying class responsibilities and relationships
- Creating class diagrams
- Using abstract classes
- Working with inheritance
- Creating advanced UML diagrams
- Understanding object-oriented design principles
Skill Level Intermediate
1. Core Concepts
2. Object-Oriented Analysis and Design
Defining requirements6m 9s
3. Utilizing Use Cases
4. Domain Modeling (Modeling the App)
5. Creating Classes
6. Inheritance and Composition
7. Advanced Concepts
8. Object-Oriented Design Patterns
9. Object-Oriented Design Principles
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.