ShmoopTube
Where Monty Python meets your 10th grade teacher.
Search Thousands of Shmoop Videos
AP Computer Science A Videos 108 videos
AP Computer Science 2.3 Classes and Objects. Which of the following is correct implementation of the Country class?
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. Which of the following will satisfy the conditional if statement for boo, str,...
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?
AP Computer Science 4.4 Classes and Objects. What is the return type of a mutator method?
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
Full Transcript
- 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. Which of the following is correct implementation of the Country class?
AP Computer Science 1.2 GridWorld Case Study and APIs. What is the direction of the actor?
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. Which of the following will satisfy the conditional if statement for boo, str,...
AP Computer Science 4.2 Standard Algorithms. What kind of algorithm is the following?