Java Programming – Lecture 3

Java

Video is ready, Click Here to View ×


This video covers the creation of the first homework assignment. It talks about objects and how to create instances of them. It also demonstrates PUBLIC, PRIVATE and STATIC concepts. The first programming assignment is started and will be completed in the next video.

26 thoughts on “Java Programming – Lecture 3

  1. I really appreciate how often you do comparisons of Java to the semi-equivalent C++ commands and/or how it differs from C++. I began programming in C++ in college and went through data structures and algorithms with that language. Because of that, hearing how they are alike and different helps solidify the concepts for me.

  2. around the 40 minute mark when you say that when you have 2 constructors and you call the second – not the default one- and the default one is still being called "behind the scenes"… that is totally wrong. even before testing this – which i did – it wouldn't make any sense implementing such a thing in the java language. actually that's not the first time i hear you saying wrong things. in the first lecture the things you were saying about floats and doubles are wrong as well.

  3. omfg, if this background noise was happening at my professor's class, he would of thrown half the room out the got damn class.
    people keep banging and banging, cell phones ringing. tablets playing TV commercials, more banging and baning because people cant sit the fuck still.
    and i sit here watching the video yelling at my screen for people to stop their bullshit. – Then realize that its fucking Youtube,…. Grrr.

  4. Hello Barbara , Is there any possibility to get all the slides of theses videos. I like it very much and wanted to have it for reference. Thanks in advance. Rakesh

  5. Question: at 22:03 , notice the second diagram from the top includes a "p" with an arrow pointing to "color: PLAIN". However P is not declared until the third method/function. Why can P point to "color: PLAIN" before it is declared?

  6. hi Barbara , I am glad I found ur lectures on youtube and you explain  concepts really good. I am one of ur vitual students.  Good job and God bless you for that cause its helping people like me and other people who don't go to college and get benefited from ur lectures. keep up the good work.  I am having a problem with eclipse. when I try to open it so it doesn't open and I get a msg saying "JVM terminated. Exit code=2 . what should I do. can anyone help me.  I am sorry for posting something which is irrelevant to the topic. yall help will be appreciated. thanks

  7. Hello.

      I believe the import statement uses the Java class loader to provide a way to import only classes that has a reference in the executed code. It does not import package en-mass.  Please correct me if I am wrong.

  8. My Eclipse keeps telling me that "void is an invalid type for variable main".

    You say in the video that you generally WANT to make your main static and void.  Why would Eclipse be yelling at me over this?

    Thanks! Love the class.

  9. Thank you for uploading your lectures! I've been programming in java off and on for about 4 years. I took a long hiatus, and this course is a great refresher for me to really get back into it. 

  10. I can't seem to get to the end of this video. The video itself keeps stopping at 43:51. I've tried rebooting and deleting cashe and cookies. Still not playing through for me. Do you have this video hosted anywhere else that I can view it?

  11. Thank you Barbara, I'm Microsoft certified profesional developer dotnet 35 distributed applications so only what I know is the C familly and especially C sharp, actually I'm null in java I'm discovering it through your lectures and I try to make a little comparaison cozI get confused they are both totally different both

  12. Hi, I just want to say that after having read a few books on Java, and having made some programs, I have to admit that it seems like a better idea to get to know the concepts first, even though it may be somewhat confusing, and it is probably individual what works the best. I realize now that I have programmed for a month without really understanding what object-oriented programming really is.

  13. Your classes are good, but you spend too much time before getting into the programming, these things should come later (I think), because now it's hard to follow all these ideas and concepts before one has an idea of how to program in Java. Maybe next course can start right away with programs, examples are just so much better and easier to follow.

Leave a Reply

Your email address will not be published. Required fields are marked *