Added: 3 years ago
From: StanfordUniversity
Views: 35,735
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (47)

Sign In or Sign Up now to post a comment!
  • This actually is one of the most boring ones ever...

  • 34:47 laawl!!

  • Monitoring the program syntax and source codes.

  • really fake and gay even fake and gayer then i originally thought, also can i get a place in stanford? :*

  • I shed a tear for the stack.. moment of silence :'( lol

  • nice chalk

    

  • Awesome

    

  • one does not simply program into mordor

  • Mehran is a very very smart dude.

  • 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.

  • Mehran u r just amazing :) thanks man ...

  • he makes "heap" and "stack" go being happy couple in my head now. Best CS professor ever!!!

  • its stanford lol

  • at last a lecture where we can take back something home. wish i had studied at stanford !

  • Great teacher.

  • Smart professor ... Thanks

  • garbage collection shirt gnomes are awesome

  • I am listening carefully too... where is my chocolate?

  • Awesome. Simply awesome.

  • Things are starting to get interesting.

  • Amazing for the first time someone explained memory management so wonderfully

  • what an energy this teacher has!!! :D

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

    FFFF=2^16 addresses = 65536 addresses

    Why only 2^16 ? How is this limit determined?

  • @ks1000A FFFF was just an example. Actually, it's like FFFFFFFFFFFFFFFFFFFFFFF.

    I'm not sure, but i think that's how it is.

  • lecture 14 is missin here,or for som resnz i cnt access to this lecture,can anyone help me out downloading this lectur???

  • 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.

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

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

  • I wonder what the video he showed at the end was...

  • assignment done but i cannot do the extra feature for th assignment

  • i am going to do assignmt no 3

  • this explains why everyone cannot be a teacher.. and its an art ... amazing job ... i want to sit with clean slate ;-)

  • I wish I had a teacher like him in my undergrad : (

  • This is so fucking good. He did it again. You can NOT misunderstand anything he says :O

  • That yoda comment was gold.. funny guy.

  • you must unlearn what you have learned...

  • 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!!!!

  • its part of a course, theres a play list.

  • Sure is

  • Great lectures. Snickers. Brilliant.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more