1:00 The History of Computing 06:51 Computer Science vs Programming 09:41 What Does The Computer Understand? 10:48 The Compilation Process 17:13 Java is an Object Oriented language 20:00 Inheritance 25:04 Instance of a Class 28:43 The acm.program Hierarchy 31:04 Your First Java Program 35:50 A ConsoleProgram example 41:14 The Graphics Window 44:51 The Sending-Messages-to-a-GLabel Example
i've been looking in to many of the books and internet sources about the java programming. most of them were not as simple as his explains.the way he explains about the concept of java its simply one of the best i've seen so far. thank you for your effort and bless you sir!! #salute
In a world where knowledge is the most valuable resource, those giving it away for free are the true kings. Thank you Stanford, Sequoia Capital and Mehran for making this excellent material available for the benefit of advancing knowledge for everyone. I commend you and shall hold you in ultimately high regard from now on. A home educated software engineer.
01:00 The History of Computing 06:51 Computer Science vs Programming 09:41 What Does The Computer Understand? 10:48 The Compilation Process 17:13 Java is an Object Oriented language 20:00 Inheritance 25:04 Instance of a Class 28:43 The acm.program Hierarchy 31:04 Your First Java Program 35:50 A ConsoleProgram example 41:14 The Graphics Window 44:51 The Sending-Messages-to-a-GLabel Example
Love these lectures; He has a clear voice; explains all his code to the audience; and is funny. I will definitely be spending the next 25 hours watching the rest of your lectures!
it takes me only 2 evenings to finish 4 lectures. This is the best course I've ever watched! Really, if I visit Stanford University in the future, I will find Proffesor Mehran for sure :)
I have no background in a class like this - my undergrad was in Spanish and Psychology. But I really enjoy this class! Thank you so much for putting this online for free Stanford! and thanks Mehran!
Wow, I like how he used that Heirarchy example of biology. Made it so simple to understand. Wish they did that 4 months ago at my Java classes in the Netherlands.
Brilliant lectures! I'm about to start my Computer Science degree and these lectures are really starting to give me the feel of things. Thanks for uploading!
Mehran, Currently I'm a freshman in college and my professors are knowledgeable but they don't make classes half a interesting a you. I watched all four lectures without yawning. Thank you Mehran and Stanford for doing this.
Im really liking these lessons, I can understand everything I do, and I really wanted to learn java programing, not to mention I really like this teacher. Thank you Stanford :D
I got stuck for hours in the Checkerboard problem of Assignment No.1. It was so satisfying to overcome that roadblock and I'm more than ready to venture into this lecture. Thank you for your wise words and sense of humor, Professor Mehran! You are a great guide for us newbies.
Actually the first ever computer humanity retrieved was found at Greece. Search youtube for the Antikethera computer. Again, Many thanks to Stanford and Mr Sahami for their brilliant work.
So I switch my major from Computer Engineering to Computer Science and in CpE we took C++, digital Logic, all the engineering maths, etc. but I didn't learn Java like the first year CS students usually do. So I'm taking a class called "Software Engineering Principles" and I really need to learn this language before I start. Thanks standford for the free lessons and sorry at everyone at my uni who had to pay to learn this lmfao
I'm currently learning javascript and its libraries like react.js and node.js so basically what interests me is the software engineering methods that Mahren shows in his lectures and i think he is really good at teaching that.
If you go to the stanford course website there are starter files for the assignments which have the acm jars. Also helps to use the version of eclipse they provide.
I have a Chinese professor who is admittedly very smart, yet very ineffective in teaching the core concepts. She races through each lecture making sure to hit every single point without fail. I'm not bashing any foreign speakers, but when your audience speaks a different language than your native tongue, please slow down to ensure everyone is on the same page.
well Eclipse does the compiling when you press the run button, so as far as the user is concerned you can very well say that eclipse is the compiler, since that is 1 of it's functions
@Uvthenfuv The term you're looking for is IDE, which stands for Integrated Development Environment. Eclipse is an IDE because it bundles a number of useful tools for application development into one program.
@Hetan Thakkar I think Karel will have a lot of candy to pick up at the end of the semester. He's probably depressed like Marvin from Hitchhiker's Guide to the Galaxy.
@joaomrpereira actually eclipse has its own java compiler, independent of javac. So you can compile java programs using eclipse with only the java runtimes. To prove this to yourself, compile using eclipse compiler from commandline, from eclipse plugin folder copy org.eclipse.jdt.core.XXX.jar to your java code folder. For ease of typing rename eclipse compiler jar to ejc.jar. To compile your .java using eclipse compiler, from cmd.com> java -jar ecj.jar -cp .;acm.jar myprogram.java
@xMjhsx A somewhat common misconception. Mac OS and Linux are both based on Unix. So they're more like siblings, not directly based off of each other. Hope this helps!
@aquaizzy Or if you're suggesting The Stanford Center for Professional Development, then I apologize; although you could have been more clear. After poking around there for 10 minutes, however, I haven't found a problem-solving community.
he is a best lecturer, dont matter where he from, whether iran, afganistan, pakistan, israiel, india, just listen, his country, his religion is not our concern
No he is correct -- the subclasses inherit from the superclasses. You're thinking about abstract classes, where blank methods are given in the superclass then actually defined in the subclasses.
First of all I would like to say that I cant get enough of these videos. Mehran is an excellant professor, made me wish I had gone to Stanford. I would like to know how to get my created worlds to show up in eclipse. I saved the world in its own folder and restarted eclipse and then tried to import it but all I get is the folder but not the java file to import. what am i doing wrong.
@@saidhussain5706 He refers to the term "stepwise refinement" in Lecture 3 (last part with he talks about decomposition, top down design and bottom up design"
14 лет назад
Nice. But note that eclipse isn't a compiler, is an IDE. javac is the compiler used by eclipse.
I think run-time compiling is called parsing, but I guess (based on dragonprince's comment) that Eclipse uses Javac for compiling then runs it. Eclipse is a tool that uses many things and simplifies many other things to make development easier. (No more notepaddin', yay!)
@mynamegoeshere10 Since youtube doesn't allow posting links, please do a browser search on "Java Task Force" and click its Home Page link. That webpage will give you full ACM Java Task Force (JTF) access, including its JAR files. However, if you're only interested in the CS106A ACM JTF, do a browser search on "CS106A assignments" and download its ZIP files. CS106A assignments are designed for Eclipse.
6:50 talking about what computers are going to be coming out and the iPhone was released only a month earlier in June 2008. Not a big computer and I'm not an Apple fanboy but it was significant but I can see how at the time it may have been overlooked or not even noticed only the week of its release, literally! iPhone released June 29, 2008 this video July 2, 2008.
if you guys are following along on the videos, dont ask questions they arent at yet. Try to treat it like an actual class, and just learn! BTW Thank you for the videos :D
Hi, if you download assignment 2 from the subject site and load it in the same way that you load Karel it should work. that is via import project or under file import. the icon looks like this |__| with an arrow going into it. the acm stuff is in assignment 2, i am pretty sure (i have only just started this assignment).
Fantastic and totally engaging lecture,(prob the best prof ever?) so somewhat taken aback there was absolutely NO mention of the father of modern computing, and indeed computer science as we know it ... "Alan Turing"??? ... I mean, c'mon???
1:00 The History of Computing
06:51 Computer Science vs Programming
09:41 What Does The Computer Understand?
10:48 The Compilation Process
17:13 Java is an Object Oriented language
20:00 Inheritance
25:04 Instance of a Class
28:43 The acm.program Hierarchy
31:04 Your First Java Program
35:50 A ConsoleProgram example
41:14 The Graphics Window
44:51 The Sending-Messages-to-a-GLabel Example
Thanks
love that for every video in the series, there's a guy that's kind enough to leave the table of contents for us :3
I really like this guy. Great communicator and very comprehensive.
Thanks Mehran.
A Professor that teaches you and teaches you well while making you laugh. You sir are pure gold.
This is the best introduction to programming that I have seen ever!
i've been looking in to many of the books and internet sources about the java programming. most of them were not as simple as his explains.the way he explains about the concept of java its simply one of the best i've seen so far. thank you for your effort and bless you sir!! #salute
14 years down and I'm watching and loving Mehran from Nairobi Kenya. Thanks Stanfrod and Mehran.
In a world where knowledge is the most valuable resource, those giving it away for free are the true kings.
Thank you Stanford, Sequoia Capital and Mehran for making this excellent material available for the benefit of advancing knowledge for everyone. I commend you and shall hold you in ultimately high regard from now on.
A home educated software engineer.
Prof. Sahami is an excellent instructor and we are so lucky to be able to see his classes worldwide. Fascinating!
Awesome teacher!
I'm so obsessed with his lectures. Simply amazing. Truly he is blessed with teaching skill. Thanks SU for sharing this video.
01:00 The History of Computing
06:51 Computer Science vs Programming
09:41 What Does The Computer Understand?
10:48 The Compilation Process
17:13 Java is an Object Oriented language
20:00 Inheritance
25:04 Instance of a Class
28:43 The acm.program Hierarchy
31:04 Your First Java Program
35:50 A ConsoleProgram example
41:14 The Graphics Window
44:51 The Sending-Messages-to-a-GLabel Example
if i have seen further, it is by standing on YOUR shoulders professor Mehran. thank you for making your education available and free (and fun) to all.
Love these lectures; He has a clear voice; explains all his code to the audience; and is funny.
I will definitely be spending the next 25 hours watching the rest of your lectures!
it takes me only 2 evenings to finish 4 lectures. This is the best course I've ever watched! Really, if I visit Stanford University in the future, I will find Proffesor Mehran for sure :)
I never though I will be addicted by this kind of videos, man, it`s so easy to understand from this "golden" professor!
I have no background in a class like this - my undergrad was in Spanish and Psychology. But I really enjoy this class! Thank you so much for putting this online for free Stanford! and thanks Mehran!
this professor is a good example of how all professors of University might be fantastic!!!!
he is the best lecturer throughout my 24-year-life. Why don’t you @unimelb have professors like this?😔
Wow, I like how he used that Heirarchy example of biology. Made it so simple to understand. Wish they did that 4 months ago at my Java classes in the Netherlands.
This is such an excellent set of videos! This professor is very good at what he does!
Thank you Stanford University for providing these videos!
I Really Like The Video From Your Professor Sahami moves into the history of computing and introduces the program Java.
Just wanted to say: This guy is really good at teaching! Give him a raise or something.
what a great way to have such open source for everyone. Outstanding public relations!
I love this teacher, he talks loud (GOOD THING) and he's funny
Brilliant lectures! I'm about to start my Computer Science degree and these lectures are really starting to give me the feel of things. Thanks for uploading!
Finally! someone actually teaching java in a way you can understand!
Mehran,
Currently I'm a freshman in college and my professors are knowledgeable but they don't make classes half a interesting a you. I watched all four lectures without yawning. Thank you Mehran and Stanford for doing this.
Im really liking these lessons, I can understand everything I do, and I really wanted to learn java programing, not to mention I really like this teacher. Thank you Stanford :D
I got stuck for hours in the Checkerboard problem of Assignment No.1.
It was so satisfying to overcome that roadblock and I'm more than ready to venture into this lecture.
Thank you for your wise words and sense of humor, Professor Mehran! You are a great guide for us newbies.
Hey Jaime, do you mind to share your solutions to Checkerboard problem? I am doing it but having a difficulty. :(
I sent you an IM, did you get it?
I had a little bit problem with it too, but finnaly I solved it, I don't know is it right, but it works fine for me pastebin.com/Hw12Fz1G
thanks Stanford. I learned so much! I truly wish I able to attend your college!
you are fantastic professor , at this moment Im proud to be an iranian.
Actually the first ever computer humanity retrieved was found at Greece. Search youtube for the Antikethera computer. Again, Many thanks to Stanford and Mr Sahami for their brilliant work.
Doo-dii-doo-di-doo! We're compiling, life is good.
Can't put into words how awsome this guy is!
So I switch my major from Computer Engineering to Computer Science and in CpE we took C++, digital Logic, all the engineering maths, etc. but I didn't learn Java like the first year CS students usually do. So I'm taking a class called "Software Engineering Principles" and I really need to learn this language before I start. Thanks standford for the free lessons and sorry at everyone at my uni who had to pay to learn this lmfao
lol Java is not bad. Was C++ hard?
Can we all take a moment to respect how much of a bloke Professor Mehran is?
Another great lesson! You can easily see how much energy this teacher has.
Great Professor & Great Course .. thanks Stanford
I'm currently learning javascript and its libraries like react.js and node.js so basically what interests me is the software engineering methods that Mahren shows in his lectures and i think he is really good at teaching that.
If you go to the stanford course website there are starter files for the assignments which have the acm jars. Also helps to use the version of eclipse they provide.
it's not sad, it's natural. That's what make guys like you so valuable comparing to millions of those who prefer stupid videos
I have a Chinese professor who is admittedly very smart, yet very ineffective in teaching the core concepts. She races through each lecture making sure to hit every single point without fail.
I'm not bashing any foreign speakers, but when your audience speaks a different language than your native tongue, please slow down to ensure everyone is on the same page.
"Hey, Eduardo, you went through the blastula stage. Good times." Best quote of the video.
well Eclipse does the compiling when you press the run button, so as far as the user is concerned you can very well say that eclipse is the compiler, since that is 1 of it's functions
Great lectures. Thanks Mr Professor and thanks Stanford. You truly are a class
The second the class ends people stand up and leave, god damn it, let him finish the friggin sentence even if you "lose" a minute of your time.
Yeah except at american universities they treat you like a little kid and punish you with tardies if you're late for your next class
Excellent Teaching on object-oriented programming using Java classes
@Uvthenfuv
The term you're looking for is IDE, which stands for Integrated Development Environment. Eclipse is an IDE because it bundles a number of useful tools for application development into one program.
Do they pass the candy to correct student when it hits an incorrect student?
Finally someones asking the important questions.
yes
@Hetan Thakkar I think Karel will have a lot of candy to pick up at the end of the semester. He's probably depressed like Marvin from Hitchhiker's Guide to the Galaxy.
@Hetan Thakkar Yes, The Hitchhikers Guide to the Galaxy, by Douglas Adams.
This guy is amazingly good.
This teacher is awesome. I wish I had such an energetic lecturer.
Amazing the change in computers in about 40 years...
i've learned so much from him!!
great lectures Mehran Sahami!
thanx! made programming a lot easier for me!
I was actually in the class you can see me in lecture one, believe me professor Sahami taught me very well!
The fact that Stanford is letting us watch this for free is fantastic!!
Loving this lecture series. Excellent way of explaining Computer Science and programming.
@joaomrpereira actually eclipse has its own java compiler, independent of javac. So you can compile java programs using eclipse with only the java runtimes. To prove this to yourself, compile using eclipse compiler from commandline, from eclipse plugin folder copy org.eclipse.jdt.core.XXX.jar to your java code folder. For ease of typing rename eclipse compiler jar to ejc.jar. To compile your .java using eclipse compiler, from cmd.com> java -jar ecj.jar -cp .;acm.jar myprogram.java
Thank you StandfordUniversity for this lecture.
Thank u Prof Sahami for this video on Java..
Every lecture should be recorded, its a crime that information is kept secret.
@ 21:26 *"Let me put in terms that you'll understand. You're a human being right? And if you're not, come talk to me. It wouldn't be the first time!"*
Yes thanks for the videos! I wouldnt pay for education from the local community college if i didn't have to
@xMjhsx A somewhat common misconception. Mac OS and Linux are both based on Unix. So they're more like siblings, not directly based off of each other. Hope this helps!
@aquaizzy Or if you're suggesting The Stanford Center for Professional Development, then I apologize; although you could have been more clear.
After poking around there for 10 minutes, however, I haven't found a problem-solving community.
"Source code" Know it, Learn it, Live it, Love it
he is a best lecturer, dont matter where he from, whether iran, afganistan, pakistan, israiel, india, just listen, his country, his religion is not our concern
God, I made it to the 4th Lecture so far.. Its only been one day to. (Trying to watch as many as I can per day.) I must finish them all!
He makes it very easy to understand. I'm thirteen and I 'm able to understand what he's saying.
very usefull stuff.. i tired to get candy by asking questions to my monitor.. but no dice.. anyone?
Excellent set of Video's,
Nice powerpoint work with the hello world example
No he is correct -- the subclasses inherit from the superclasses. You're thinking about abstract classes, where blank methods are given in the superclass then actually defined in the subclasses.
All study of Java starts from this lecture
i like the teacher. he is very well spoken
wow! u must be so knowledgeable!
First of all I would like to say that I cant get enough of these videos. Mehran is an excellant professor, made me wish I had gone to Stanford. I would like to know how to get my created worlds to show up in eclipse. I saved the world in its own folder and restarted eclipse and then tried to import it but all I get is the folder but not the java file to import. what am i doing wrong.
This Guy is Awesome
Byebye Karel, I have been programming for many years but you did teach me some important things like refinement.
What is this
@@saidhussain5706 He refers to the term "stepwise refinement" in Lecture 3 (last part with he talks about decomposition, top down design and bottom up design"
Nice. But note that eclipse isn't a compiler, is an IDE. javac is the compiler used by eclipse.
I love Stanford I really want to go! I really want to meet Mehran. I love JAVA and he makes it so much fun
Ur comment is 11 years ago😱😱😱😱
The dude's speech can't keep up with his brain, so he speaks like a tweeker. Brilliant!
I think run-time compiling is called parsing, but I guess (based on dragonprince's comment) that Eclipse uses Javac for compiling then runs it. Eclipse is a tool that uses many things and simplifies many other things to make development easier. (No more notepaddin', yay!)
@Thymonico
Thank you! I found the "jar" but didn't know what to do with it!
@Thymonico Thanks would not have figured out without your note here.
stanford is an awesome universety! and even if it wasn't, i would go there for the candy :D
@mynamegoeshere10
Since youtube doesn't allow posting links, please do a browser search on "Java Task Force" and click its Home Page link. That webpage will give you full ACM Java Task Force (JTF) access, including its JAR files.
However, if you're only interested in the CS106A ACM JTF, do a browser search on "CS106A assignments" and download its ZIP files. CS106A assignments are designed for Eclipse.
6:50 talking about what computers are going to be coming out and the iPhone was released only a month earlier in June 2008. Not a big computer and I'm not an Apple fanboy but it was significant but I can see how at the time it may have been overlooked or not even noticed only the week of its release, literally! iPhone released June 29, 2008 this video July 2, 2008.
if you guys are following along on the videos, dont ask questions they arent at yet. Try to treat it like an actual class, and just learn!
BTW
Thank you for the videos :D
Hi, if you download assignment 2 from the subject site and load it in the same way that you load Karel it should work. that is via import project or under file import. the icon looks like this |__| with an arrow going into it. the acm stuff is in assignment 2, i am pretty sure (i have only just started this assignment).
This course should be remade in a remastered versiom of 4k
Totes
These lectures are great.
This guy is really awesome
I feel increasingly awesome as the views for each successive video decrease.
Who would give a negative vote to this set of videos????
Amazing pool of knowledge these videos are
Thank you Stanford :D
11:41 "dududu~ know it, learn it, live it, love it"..
If you have more questions about this video join ezdia and ask your questions there. eZdia experts will be glad to answer your queries.
ya there are......you can find them at stanford.edu/class/cs106a
Fantastic and totally engaging lecture,(prob the best prof ever?) so somewhat taken aback there was absolutely NO mention of the father of modern computing, and indeed computer science as we know it ... "Alan Turing"???
... I mean, c'mon???