well i read that point in Walter Savitch's Book Absolute Java, somewhere regarding the equality of two objects that Mehran just told at the very end of this tutorial, but he says that happened in the DAYS OF YORE, the book i have of Walter Savitch is 3rd edition based on Java 5, so does Mehran mean to say this is no longer the case and u dont need to write an equal method for comparing objects??
@sabasania The full context of that statement is "in the days of yore, when we talked about our friend the string"; he's talking about one of his previous lectures, not "the days of yore" in the Java world.
How the memory allocation happens inside a computer is nicely explained. Thank you very much for that.
Question:
How does the computer/processor know which instruction to execute? In the example, there is a "move" method which takes two arguments. The two arguments were created on stack (as they are local variables). But how does the CPU know to execute the move method. Who/which part of the computer keeps track of what method to execute?
Great Lecture!. Thank you for posting this on youtube..
Question
1) The memory address starts at 0000 and ends at FFFF. My question is why does it end at FFFF. Why not have more addresses than that. What determines the ending address (or the number of addresses) ?
Best lecture yet, in my opinion. I have some (limited) java experience, but I decided to start from the very beginning, just to cover some loose gaps. This lecture made me feel that it was worth it.
Do you mean 'why do you have to declare a Point as a "New Point()" because you said it was of type Point: "Point myPoint"?
If so, it is because: When you say "Point myPoint" it is making a variable of type point. The object is, at this moment NULL. When you say "= new Point(x, y)", it then assigns the address to this 'new' Point object, and changes the NULL variable.
@j0natan i don't think you do, however, if a class inherits(ie. extends) another class, it can be a pointer to that class and is an instance of a superclass.
ex:
CPackage extends CBox
CBox* myPresent = new CPackage();
However this is valid too...
CPackage extends CBox
CPackage * myPresent = new CPackage();
this is true in c++ and from what i have heard there is almost no difference between c++ and java in this subject. The difference is when you deal with virtual functions.
the only thing that makes me rage about this lecture is hearing the students talking in tard-patters "like... or sumthin uuhhhh like when... uhhh", WTF???
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 actually is one of the most boring ones ever...
selimdridi 4 weeks ago
34:47 laawl!!
videouploaderizator 1 month ago in playlist Course | Programming Methodology
Monitoring the program syntax and source codes.
grunder20 2 months ago
really fake and gay even fake and gayer then i originally thought, also can i get a place in stanford? :*
P1ll0wMan 2 months ago
I shed a tear for the stack.. moment of silence :'( lol
RasIsBoss 2 months ago in playlist Course | Programming Methodology
nice chalk
sandro4646 2 months ago 2
Awesome
aditya3098 3 months ago in playlist Course | Programming Methodology
one does not simply program into mordor
PONY4LYFEHAHDERP 4 months ago
Mehran is a very very smart dude.
derekmacneil 5 months ago
well i read that point in Walter Savitch's Book Absolute Java, somewhere regarding the equality of two objects that Mehran just told at the very end of this tutorial, but he says that happened in the DAYS OF YORE, the book i have of Walter Savitch is 3rd edition based on Java 5, so does Mehran mean to say this is no longer the case and u dont need to write an equal method for comparing objects??
sabasania 7 months ago
@sabasania The full context of that statement is "in the days of yore, when we talked about our friend the string"; he's talking about one of his previous lectures, not "the days of yore" in the Java world.
Unnullifier 5 months ago
Mehran u r just amazing :) thanks man ...
0ElectroMad0 8 months ago in playlist Course | Programming Methodology
he makes "heap" and "stack" go being happy couple in my head now. Best CS professor ever!!!
ducdh1210 9 months ago
its stanford lol
samosval92 9 months ago
at last a lecture where we can take back something home. wish i had studied at stanford !
kpmkhaja 10 months ago
Great teacher.
johniedesk1 11 months ago
Smart professor ... Thanks
JESUSwasARABICMAN 1 year ago
garbage collection shirt gnomes are awesome
runnerup15 1 year ago
I am listening carefully too... where is my chocolate?
gardezi4 1 year ago
Awesome. Simply awesome.
robertmadman 1 year ago
Things are starting to get interesting.
dimipeli 1 year ago
Amazing for the first time someone explained memory management so wonderfully
subhankarsengupta 1 year ago
what an energy this teacher has!!! :D
pithikoulis 1 year ago
How the memory allocation happens inside a computer is nicely explained. Thank you very much for that.
Question:
How does the computer/processor know which instruction to execute? In the example, there is a "move" method which takes two arguments. The two arguments were created on stack (as they are local variables). But how does the CPU know to execute the move method. Who/which part of the computer keeps track of what method to execute?
ks1000A 1 year ago
Great Lecture!. Thank you for posting this on youtube..
Question
1) The memory address starts at 0000 and ends at FFFF. My question is why does it end at FFFF. Why not have more addresses than that. What determines the ending address (or the number of addresses) ?
FFFF=2^16 addresses = 65536 addresses
Why only 2^16 ? How is this limit determined?
ks1000A 1 year ago
@ks1000A FFFF was just an example. Actually, it's like FFFFFFFFFFFFFFFFFFFFFFF.
I'm not sure, but i think that's how it is.
beleaf169 8 months ago
lecture 14 is missin here,or for som resnz i cnt access to this lecture,can anyone help me out downloading this lectur???
seismologist125 1 year ago
Best lecture yet, in my opinion. I have some (limited) java experience, but I decided to start from the very beginning, just to cover some loose gaps. This lecture made me feel that it was worth it.
weeecrap 1 year ago
very good lecture, one thing I don't understand why do you have to declare the pointers as different Objects
cant it just be a declaration like Pointer pointer = new Object();
Pointer is just and example
j0natan 1 year ago
@j0natan This may be and old question but...
Do you mean 'why do you have to declare a Point as a "New Point()" because you said it was of type Point: "Point myPoint"?
If so, it is because: When you say "Point myPoint" it is making a variable of type point. The object is, at this moment NULL. When you say "= new Point(x, y)", it then assigns the address to this 'new' Point object, and changes the NULL variable.
Does that make sense? :P
CoDCopsProductions 1 year ago
@j0natan i don't think you do, however, if a class inherits(ie. extends) another class, it can be a pointer to that class and is an instance of a superclass.
ex:
CPackage extends CBox
CBox* myPresent = new CPackage();
However this is valid too...
CPackage extends CBox
CPackage * myPresent = new CPackage();
this is true in c++ and from what i have heard there is almost no difference between c++ and java in this subject. The difference is when you deal with virtual functions.
kartracer126 1 year ago
the only thing that makes me rage about this lecture is hearing the students talking in tard-patters "like... or sumthin uuhhhh like when... uhhh", WTF???
DillonSundance 1 year ago
I wonder what the video he showed at the end was...
defenderoftime 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
assignment done but i cannot do the extra feature for th assignment
mylastnameiskhan 2 years ago
i am going to do assignmt no 3
mylastnameiskhan 2 years ago 2
this explains why everyone cannot be a teacher.. and its an art ... amazing job ... i want to sit with clean slate ;-)
07ankur 2 years ago 2
I wish I had a teacher like him in my undergrad : (
cisancr 2 years ago
This is so fucking good. He did it again. You can NOT misunderstand anything he says :O
daniel1982 2 years ago 6
That yoda comment was gold.. funny guy.
nateaus 2 years ago 3
you must unlearn what you have learned...
rkwickstrom 2 years ago
aaaaaahhhhhhh!!!! I was looking forward to the movie at the end:-) I absolutely wasn't going to leave:-)
Thanks for the awesome lecture:-) Moving on!!!!
amightyo 2 years ago 6
This has been flagged as spam show
Share your programming thoughts, ideas, or questions with other programmers! tvlinkshare. com
heheakou 2 years ago
This has been flagged as spam show
.......
Gerardk42 2 years ago
its part of a course, theres a play list.
NiGhtMarEs0nWax 2 years ago
Sure is
einarmani 3 years ago 16
Great lectures. Snickers. Brilliant.
nox514 3 years ago 28