ShmoopTube

Where Monty Python meets your 10th grade teacher.

Search Thousands of Shmoop Videos


Inheritance, Abstraction, and Polymorphism Videos 17 videos

AP Computer Science 1.2 Inheritance, Abstraction, and Polymorphism
369 Views

APCS: Inheritance, Abstraction, and Polymorphism Drill 1, Problem 2. Which of the following is the correct way to begin writing your class?

AP Computer Science 1.1 Inheritance, Abstraction, and Polymorphism
203 Views

AP Computer Science 1.1 Inheritance, Abstraction, and Polymorphism. Which of the following are correct?

AP Computer Science 1.3 Inheritance, Abstraction, and Polymorphism
177 Views

AP Computer Science 1.3 Inheritance, Abstraction, and Polymorphism. Which of the following is true?

See All

AP Computer Science 4.1 Inheritance, Abstraction, and Polymorphism 7 Views


Share It!


Description:

AP Computer Science 4.1 Inheritance, Abstraction, and Polymorphism. What is the correct code to replace /* Animal Class Declaration */?

Language:
English Language

Transcript

00:04

Here's your shmoop du jour brought to you by the animal kingdom [Animal kingdom welcome sign appears]

00:07

whale hello there what's the correct code to replace the animal class

00:13

declaration written like that and hear your potential answers....

00:20

look at this we can immediately

00:23

eliminate some of the choices expand is not a keyword in Java and we can also [Giant balloon expanding]

00:29

eliminate choice C because the implements key word can only be used

00:32

once that just leaves us with choice E for our answer that's it could've brushed

00:37

our teeth in less time [Man brushing teeth]

Related Videos

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 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?

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 4.2 Standard Algorithms
191 Views

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