ShmoopTube

Where Monty Python meets your 10th grade teacher.

Search Thousands of Shmoop Videos


Computer Science Videos 112 videos

Computer Science: Setting Up Your Environment
19 Views

Just as you move your furniture into a new house before spending the night, you’ve got to spend a little time setting up your environment when yo...

Computer Science: Doubles and Ints
17 Views

Doubles and ints. At first glance, it may look like this video will be about baseball and football statistics. But they're actually computer scienc...

AP Computer Science 1.1 Classes and Objects
468 Views

AP Computer Science: Classes and Objects Drill 1, Problem 1. Which of the following is a correct {/* Implementation */} for the isInsect method?

See All

AP Computer Science 2.4 Inheritance, Abstraction, and Polymorphism 173 Views


Share It!


Description:

AP Computer Science 2.4 Inheritance, Abstraction, and Polymorphism. Which of the following is a valid class declaration?

Language:
English Language

Transcript

00:00

Thank you we sneak and here's your shmoop too sure

00:05

brought to you by the subclass who's siblings went mysteriously

00:08

missing leaving him with the entire inheritance All right which

00:12

of the following is a valid class declaration public to

00:16

class All right here potential answers you have to roman

00:20

way and here we go Well choice one is a

00:25

valid answer It extends its parent class than implements its

00:28

interfaces Choice two does not have correct syntax The extends

00:34

keyword must always precede the implements Keyword choice three is

00:38

the same problems to when writing a new class Extends

00:41

always comes after implements That leaves us with just choice

00:45

a it's one on lee as our answer You know

00:48

we may have closed this one The case of the

00:49

rogue subclass is still unsolved Would be looking anywhere hiding 00:00:53.274 --> [endTime] in the shadows I didn't just right no

Related Videos

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