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.
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.…
Author
Released
5/22/2012Let 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
Duration
Views
Related Courses
-
Introduction
-
Welcome1m 21s
-
Who this course is for1m 15s
-
-
1. Core Concepts
-
What is an object?5m 22s
-
What is a class?4m 43s
-
What is abstraction?2m 45s
-
What is encapsulation?3m 45s
-
What is inheritance?3m 35s
-
What is polymorphism?3m 22s
-
2. Object-Oriented Analysis and Design
-
Defining requirements6m 9s
-
3. Utilizing Use Cases
-
Understanding use cases6m 11s
-
Identifying the actors4m 16s
-
Diagramming use cases4m 18s
-
Employing user stories3m 43s
-
-
4. Domain Modeling (Modeling the App)
-
Creating a conceptual model1m 59s
-
Identifying the classes2m 27s
-
Using CRC cards2m 49s
-
-
5. Creating Classes
-
Creating class diagrams6m 11s
-
Exploring object lifetime5m 55s
-
-
6. Inheritance and Composition
-
Using inheritance2m 43s
-
Using abstract classes2m 2s
-
Using interfaces4m 20s
-
7. Advanced Concepts
-
Creating sequence diagrams5m 18s
-
Using UML tools2m 2s
-
-
8. Object-Oriented Design Patterns
-
9. Object-Oriented Design Principles
-
Conclusion
-
Additional resources2m 27s
-
Goodbye44s
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Using interfaces