Mehran said that it's bad style to create an array of one integer so you can pass that array into into a method to change the integer, but he doesn't mention the "correct" way of passing primitives by reference. He has mentioned before the "Integer" class, but you can't change the value. So is the best way to just create your own Integer class that holds a single integer and pass that object around? Or is there a better method? Maybe he'll cover this in more detail in one of the next lectures.
You know whats funny? They are going to school to program computers, but at the same time are getting programmed themselves I.e:(they are getting "programmed" to learn to program ) haha..
is there a big difference between the pdf version of "the art and sience of java" book and the full original version? Will i be able to complete the course and understand all the details with the pdf preliminary draft of the book, or will i miss alot of detail if i don't read the final example of the book?
This has been flagged as spam show
thanks! very informative video!
adelle0001 1 month ago
His manner of discussion is great.
grunder20 2 months ago
Mehran said that it's bad style to create an array of one integer so you can pass that array into into a method to change the integer, but he doesn't mention the "correct" way of passing primitives by reference. He has mentioned before the "Integer" class, but you can't change the value. So is the best way to just create your own Integer class that holds a single integer and pass that object around? Or is there a better method? Maybe he'll cover this in more detail in one of the next lectures.
Tekkerue 3 months ago
2 people got the Darth Vader exception.
Tekkerue 3 months ago 2
Great job Mehran! I love your lectures they're always interesting!
pker5range 5 months ago
i dont get the ++ joke. he says "i can imagine some places I would want to put it " help anyone? :P
pker5range 5 months ago
@pker5range ++ adds 1. so where would you want to add one? (inch...lol)
txglasgow 1 month ago
he draws a boob on the board at 46:30
bigleague25 7 months ago
wtf 2 dislikes???
hemmahbeast 8 months ago in playlist Course | Programming Methodology 2
thanks
tod315 11 months ago
You know whats funny? They are going to school to program computers, but at the same time are getting programmed themselves I.e:(they are getting "programmed" to learn to program ) haha..
99SintaX 11 months ago
thanks Marhan you are wonderfull man
leDanio1977 11 months ago
@leDanio1977 Mehran*
On a separate note STRING THEORY w/ arrays :~), it sounds fun.
Sketch9816 10 months ago
free lecture more better then my college lecture.at last i dont have to pay to learn something Amazing
system0system0 1 year ago
good prof.. i want someone like him to teach me.. imo,if profs were just like him, studying would always be interesting.
weward 1 year ago
this guy deserves "best teacher on youtube award"
zfjquery 1 year ago 32
Hahaha "Darth Vader Exception"
Thank god that person asked that question.
khwajay 1 year ago 4
He's a great teacher... but one disagreement in this lesson - programmers initialize arrays with values all the time.
marmad22 1 year ago 2
These lessons are great! Thank's Stanford and thank you Mr. Sahami. ^_^
Milantex88 1 year ago
This has been flagged as spam show
is there a big difference between the pdf version of "the art and sience of java" book and the full original version? Will i be able to complete the course and understand all the details with the pdf preliminary draft of the book, or will i miss alot of detail if i don't read the final example of the book?
Rasmusorum 1 year ago
it good to see that array in java support dynmic sizing....
mylastnameiskhan 2 years ago
@mylastnameiskhan Arrays don't ;)
CoDCopsProductions 1 year ago
@CoDCopsProductions in java arrays do support dynamic sizing...
Sushantgupta12 1 year ago
This has been flagged as spam show
lovelly arabic tutotr mhran al shamy
mylondonx7 2 years ago
Thanks Professor!
Naam19 2 years ago 10
Absolutely brilliant!
csno1 2 years ago 6
Thanks, very useful!
garg654 2 years ago 7
25:00 XD throw new Exception("outOfBallance")
aisbaa 2 years ago 15
great lectue on arrays.You are great Mehran
SanaNidhi18 2 years ago 7
Great teacher, hope he's my teacher.
naseemneenah 3 years ago 5