ShmoopTube

Where Monty Python meets your 10th grade teacher.

Search Thousands of Shmoop Videos


Classes and Objects Videos 18 videos

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?

AP Computer Science 1.3 Classes and Objects
245 Views

AP Computer Science 1.3 Classes and Objects. Which of the following should be declared as a static variable?

AP Computer Science 1.4 Classes and Objects
213 Views

In this question, which of the choices correctly constructs a Time(int hours, int minutes, int seconds) object?

See All

AP Computer Science 4.4 Classes and Objects 175 Views


Share It!


Description:

AP Computer Science 4.4 Classes and Objects. What is the return type of a mutator method?

Language:
English Language

Transcript

00:00

Hurry And here's your shmoop du jour brought to you

00:05

by black holes and unfortunate repercussion of wearing black socks

00:10

What happened All right what's the return type of ah

00:13

you tater method And here your potential answers All right

00:18

well recall what Um you tater method does It only

00:22

changes the value of a private variable so it doesn't

00:26

have any return type so we can eliminate answers cd

00:30

any right off the bat to decide between choices and

00:33

b let's Remember the syntax of a schmuck mu tater

00:36

method set lama i'd well it goes as follows public

00:40

void set lama i'd return type in this method is

00:44

void like it is in all other mutate Er methods

00:47

not the endless void your third grade science teacher said

00:49

would turn you into spaghetti more like void as in

00:52

nothing nada Zip The next time we'll learn about naive

00:56

stars that get trapped in black holes they unfortunately do 00:00:59.664 --> [endTime] not understand the gravity of the situation

Related Videos

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