ShmoopTube

Where Monty Python meets your 10th grade teacher.

Search Thousands of Shmoop Videos


AP Computer Science A Videos 108 videos

AP Computer Science 3.5 Classes and Objects
186 Views

AP Computer Science: Classes and Objects Drill 3, Problem 5. Which of the following is not an object?

AP Computer Science 3.4 Classes and Objects
176 Views

AP Computer Science: Classes and Objects Drill 3, Problem 4. Which of the following are objects?

AP Computer Science 4.1 Classes and Objects
174 Views

AP Computer Science 4.1 Classes and Objects. Which of the answers is the best definition of a postcondition?

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?