ShmoopTube

Where Monty Python meets your 10th grade teacher.

Search Thousands of Shmoop Videos

AP Computer Science 2.2 Inheritance, Abstraction, and Polymorphism 178 Views


Share It!


Description:

AP Computer Science 2.2 Inheritance, Abstraction, and Polymorphism. Which methods must be implemented?

Language:
English Language

Transcript

00:00

Thank you We sneak and here's your smoke du jour

00:05

brought to you by gator aid helping our scalea friends

00:09

since nineteen fifty nine All right we'll consider the following

00:12

interview you drank which methods must be implemented Thank you

00:21

Soon thinking thinking All right well let's recall what an

00:26

interface is When a class implements and interface it makes

00:30

a promise that it will implement all the methods listed

00:33

in the interface it's just like the guy who gave

00:35

the gal a promise ring Well the computer will sputter

00:37

and diets promise is broken So to keep the computer

00:40

happy we have to implement all the methods listed in

00:43

the class energy drink in the class Our third got

00:47

that last year All right and that's it our way

00:51

have to write the methods get energy and takes it

00:53

in power Thirst All right so next time we'll bring

00:55

you fanned ace solving moody and dramatic rock n roller 00:00:59.132 --> [endTime] problems with group therapy Joe a mallet

Up Next

AP Computer Science 1.2 GridWorld Case Study and APIs
493 Views

AP Computer Science 1.2 GridWorld Case Study and APIs. What is the direction of the actor?

Related Videos

AP Computer Science 1.4 Standard Algorithms
200 Views

AP Computer Science 1.4 Standard Algorithms. How many times will mystery be called for mystery(n) for n > 1?

AP Computer Science 2.3 Classes and Objects
191 Views

AP Computer Science 2.3 Classes and Objects. Which of the following is correct implementation of the Country class?

AP Computer Science 3.4 Inheritance, Abstraction, and Polymorphism
204 Views

AP Computer Science 3.4 Inheritance, Abstraction, and Polymorphism. Which of the following will satisfy the conditional if statement for boo, str,...

AP Computer Science 4.2 Standard Algorithms
191 Views

AP Computer Science 4.2 Standard Algorithms. What kind of algorithm is the following?