Ad

Friday, March 18, 2016

Udacity Class Intro to Java Programming walkthrough, review, rating and notes

Intro to Java Programming
(This document is a work in progress. Please excuse its appearance)
  • General comments:
    • Video has occasional interviews of young female coders, role models - cs students from Stanford
  • Lesson 1 - Introduction
    • Tidying Legos : 
      • Example: use lego swap, sorting, rearrangement as example of algorithm
    • Example: calculation of dinner bill and tip is a good example of an algorithm
    • Moving to the First Yellow-Blue Lego
      • Exercise: really helpful exercise writing pseudo code and understanding algorithm
    • Concept: Why is this not a correct algorithm? 01 description is ambiguous?  02 description contains steps that cannot be executed ? 03 procedure does not always terminate
Udacity Introduction to Java Programming
Move to the First Yellow-Blue
Example algorithm that does not terminate


  • Problem set 0:
    • Install BlueJ and look at folder files to find secret codes. Familiarize yourself with your programming environment
  • Objects
    • Concept - coders organize their code into objects
    • Concept - can use objects already written by other people, stand on the should of the giants
    • Concept - two important things to understand about objects: 01 what can an object do? 02 How to make the object do it?
    • Why is OOP so important?
      • Industry standard, job requirement to use object oriented programming
      • Concept - a person is a perfect analogy of an object (computer science): a person has attributes / properties like height weight, and he/she is can do all kinds of things. OOP is intuitive - it is aligned with the way we think 
    • Objects
      • Analogy - objects are like appliances in a big house. Each appliance such as a heater or the washer has some build-in functionalities 
      • Concept - Object = building block of a program, component with some desired functionality. You can ask objects to do work. 
      • Concept - You don't necessarily know how they do that - how they complete each task. 
      • Analogy - We don't know usually know the granular details how a heater works, as long as it heats water
      • Concept - it's important to understand WHAT an object can do, NOT necessarily HOW it does that
  • Lesson Title : Objects demo
    • Exercise: learn to use an existing project, and start a new instance of an object
    • Concept: It's important to not get hung up on how an object does its task exactly to the greatest details.  The amount of codes in each project can be overwhelming. It's important to follow instruction, and ignore the extra details. 
  • Lesson Title: Lesson 2 - Objects - Classes
    • Concept: in Java, class = objects with common behaviors. Example the day class, when you want to use objects in this class, look at its documentations. Example: the string class defines the common behavior of the string objects.
    • Concept: methods = actions that can be done by a class
    • Comments: this is a really good way to think about objects, for those who are new to OOP
  • Lesson Title: Lesson 2 - Drawing Pictures
    • Exercise: playing with interesting codes that can edit and modify pictures
    • Comment: this is a great exercise, showcasing a real-world application of Java, and how powerful it is for image manipulation
  • Lesson Title: Lesson 2 - Variable Names
    • Concept - Use variable to store a value that you need to retrieve later. Every variable has a name. Analogy: parking lot spot, parking structure label





  • Lesson 2 Objects An Exercise on Variable Names
    • Identify the variable names in variable declarations
  • Lesson 2 Objects Variables
    • Concept Variable Type: in Java writes the type before the variable name. Analogy: parking spot for a bike, versus for motorbikes versus for a car. In Java, we have to specify which type of data the variable holds. 
    • Concept Initial Value : when declaring a new variable, always best practice to specify an initial value. 
    • Concept data type double: a number that can have a decimal point. Ignore the curious name. 
    • Commonly seen types: string, double, int, and more
  • Lesson 2 Objects Comments
    • // double slash comments for humans to understand the code better
    • "Comments are for humans (human readers)"
  • Lesson 2 Objects Variable Declarations: The Fine Print
    • Exercises: spot mistakes in variable declaration statements



238 comments:

  1. Thanks for your informative post on Java application development. This open source platform assists software developers to create stunning mobile application with ease. Further, they can make use of this platform at free of cost.

    JAVA Training in Chennai|JAVA Course in Chennai|Best JAVA Training in Chennai

    ReplyDelete

  2. This technical post helps me to improve my skills set, thanks for this wonder article I expect your upcoming blog, so keep sharing...
    Regards,
    PHP Training Institute in Chennai|PHP Training in Chennai

    ReplyDelete
  3. This technical post helps me to improve my skills set, thanks for this wonder article I expect your upcoming blog, so keep sharing...
    Regards,
    web designing training in chennai|web design training course|web designing institute

    ReplyDelete
  4. The strategy you have posted on this technology hepled me to get into the next level and had lot of informations in it.
    salesforce training in chennai | salesforce training institute in chennai

    ReplyDelete
  5. I agree your thoughts, now a day’s huge demand for the certified java professionals in IT industry. Java gives more career opportunity for the fresher’s as well as experienced experts.
    Regards,
    JAVA Training in Chennai|JAVA Course in Chennai

    ReplyDelete
  6. if you learn java you can easily switch your career in to Hadoop technology.
    Regards,
    Hadoop Training in Chennai|Big Data Training in Chennai

    ReplyDelete
  7. Excellent post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
    Hadoop Training Chennai | PHP Training in Chennai

    ReplyDelete
  8. Ethical hacking describes hacking performed by a company or individual to help them to identify potential threats on a computer or network.
    Ethical hacking Course in Chennai | Ethical hacking Training in Chennai

    ReplyDelete
  9. That is the reason umteen organizations and fill support to outsource impost refreshment programming.Hardback by years of get Softage has surpassed its rivals by giving somebody benefits in a moderate behavior.Java

    ReplyDelete
  10. Nice blog. Thank you for sharing. The information you shared is very effective for learners I have got some important suggestions from it. erp software in chennai.

    ReplyDelete
  11. Hi to every one, the contents present at this site are
    actually remarkable for people experience, well, keep up the good work fellows
    Web designing course in chennai

    ReplyDelete
  12. This technical post helps me to improve my skills.
    Networking Course Training in Gurgaon |

    ReplyDelete
  13. Really an amazing post..! By reading your blog post i gained more information.
    Bulk SMS Chennai
    Internet Marketing Company Chennai

    ReplyDelete
  14. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.selenium training in bangalore

    ReplyDelete
  15. I simply wanted to write down a quick word to say thanks to you for those wonderful tips and hints you are showing on this site.

    IBM BPM Online Training in Chennai
    IBM BPM Online Training

    ReplyDelete
  16. Very Clear Explanation. Thank you to share this
    Regards,
    PHP Training Institute in Chennai

    ReplyDelete
  17. Very informative blog. Helps to gain knowledge about new concepts and techniques.Thanks a lot for sharing this wonderful blog.keep updating such a excellent post..

    Best PCB Design Training in Chennai | No.1 PCB Design Course in Velachery | Best PCB Training in Chennai

    ReplyDelete
  18. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...

    AWS Certification Training Institute in Chennai | AWS Training Center in Chennai | AWS Certification Training in Velachery

    ReplyDelete
  19. Thanks for sharing this information,this is helpful to me a lot...It is amazing and wonderful to visit your site.

    Web Designing Training Institute in Chennai | Web designing Training in Velachery | Web Design Training Center in Velachery

    ReplyDelete
  20. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision, keep sharing.
    Best MicroSoft Azure Training Institute in Chennai | Azure Training in Pallikaranai | Best Azure Certification Training in Pallikaranai | Best Azure Training Center in Chennai

    ReplyDelete
  21. This is a great inspiring article.I am pretty much pleased with your good work. You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post..

    Best ISTQB Certification Training in Chennai | No.1 ISTQB Certification Training Center in Chennai | ISTQB Certification Exam Center in Velachery | ISTQB Certification Training in Saidapet

    ReplyDelete
  22. Thank you so much for posting this. I really appreciate your work. Keep it up. Great work! I am really interested to continue reading your blog. You have shared valid info. Waiting for more updates from you.
    AWS Certification Training in Chennai | Best AWS Training Institute in Chennai | No.1 AWS Certification Training in Nanganallur | AWS Training in Velachery

    ReplyDelete
  23. Good article! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
    Python Certification Training in Chennai | Python Training Institute in Velachery | Python Certification Exams in Chennai | Python Exam Center in Chennai

    ReplyDelete
  24. Wow...What an excellent informative blog, really helpful. Thank you so much for sharing such a wonderful article with us.keep updating..

    MatLab Training Institute in Chennai | MatLab Training in Velachery | Matlab Training Center in Chennai | MatLab Courses in Pallikaranai | MatLab Training with Placement in Chennai

    ReplyDelete
  25. I feel really happy to see your blog and look forward to many more entertaining times reading here. Thanks once more for all the details.

    Java Training institute in Chennai | Java Training Center in Chennai | Java Courses in Velachery

    ReplyDelete
  26. It is awesome and wonderful to visit your site.Thanks for sharing your ideas and views... keep rocks and updating........
    Tally ERP9 Training Institute in Chennai | Tally Training Center in Velachery | Tally Training Center in Taramani

    ReplyDelete
  27. Thanks for posting this useful content, Good to know about new things here.It was so good to read and useful to improve my knowledge as updated one, keep blogging…
    MicroSoft Azure Training Institute in Chennai | Azure Certification Training in Velachery | Azure Certification Training in Adyar

    ReplyDelete
  28. I have read your blog its very attractive and impressive. I like it your blog.Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge.

    VMware Certification Training in Chennai | VMware Certification Exam Center in Chennai | VMware Exams Center in Taramani | VMware Certification Exams in Chennai

    ReplyDelete
  29. Wow...What an excellent informative blog, really helpful. Thank you so much for sharing such a wonderful post with us.keep updating..
    AWS Certifications in Chennai | AWS Exam Centers in Chennai | AWS Certification Exams in Velachery | AWS Exams in Velachery | AWS Online Exam Center in Velachery

    ReplyDelete
  30. Very informative and interesting blog, it was so good to read and useful to improve my knowledge as updated one,keep updating..This Concepts is very nice Thanks for sharing.
    ISTQB Certification in Chennai | ISTQB Exam Centers in Chennai | Best ISTQB Exams in Velachery

    ReplyDelete
  31. It is really very awesome and wonderful to visit your site.Thanks for sharing your informative blog with us.keep updating such a wonderful post..
    MicroSoft Azure Certification in Chennai | Azure Exam Centers in Velachery | Azure Exam Centers in Madipakkam

    ReplyDelete
  32. Your Blog is really amazing with useful and helpful content for us.Thanks for sharing.keep updating more information.
    Embedded System Training Institute in Chennai | Embedded Training in Velachery | Embedded System Training in Guindy

    ReplyDelete
  33. Impressive blog with lovely information. really very useful article for us thanks for sharing such a wonderful blog...
    Java Training institute in Chennai | Java Certification Training Center in Velachery | Java Training in Pallikaranai

    ReplyDelete
  34. Nice Post! It is really interesting to read from the beginning and Keep up the good work and continue sharing like this.
    Linux Training Institute in Chennai | Linux Certification Training in Velachery

    ReplyDelete
  35. Excellent Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge.
    Java Training Institute in Chennai | Java Certification Training in Velachery

    ReplyDelete
  36. Thanks for sharing your wonderful information..Its really impressive and informative content..
    AWS Certification Training in Chennai | AWS Training Institute in Chennai | AWS Exam Center in Velachery

    ReplyDelete
  37. Excellent Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge.
    Embedded System Training in Chennai | Embedded Training in Velachery | Embedded Courses in Pallikaranai

    ReplyDelete
  38. This is useful post for me. I learn lot of new information from your article. keep sharing. thank you for share us.
    MCSE Training Institute in Chennai | MCSE Training in Velachery | MCSE Training Center in Chrompet

    ReplyDelete
  39. It is amazing blog and good information... I was improve my knowledge... Thanks for sharing such a informative and wonderful post...
    Java Training Institute in Chennai | Java Training Center in Velachery | Java Certification Training in Taramani

    ReplyDelete
  40. Thanks for your informative article. Your post helped me to understand the future and career prospects. Keep on updating your blog with such awesome article.
    PCB Designing Training Institute in Chennai | PCB Training in Velachery

    ReplyDelete
  41. Really very happy to say, your post is very interesting to read. I never stop myself to say something about it. You’re doing a great job. Keep it up…

    Get Best Dell Boomi Training in Bangalorev from Real Time Industry Experts with 100% Placement Assistance in MNC Companies. Book your Free Demo with Softgen Infotech.

    ReplyDelete
  42. Very interesting article.Helps to gain knowledge about lot of information. Thanks for posting information in this blog...
    Java Training Institute in Chennai | Java Training Center in Velachery | Advanced java Courses in Porur

    ReplyDelete
  43. I have read your blog. Good and more information useful for me, Thanks for sharing this information keep it up....
    Dot Net Project Center in Chennai | Dot Net Project Center in Velachery | Dot Net Projects in OMR

    ReplyDelete
  44. I have read your blog. Good and more information useful for me, Thanks for sharing this information keep it up....
    Dot Net Project Center in Chennai | Dot Net Project Center in Velachery | Dot Net Projects in OMR

    ReplyDelete
  45. Pretty article! I found some useful information in your blog, it was awesome to read, thanks for sharing this great content to my vision...
    Java Project Center in Chennai | Java Project Center in Velachery | Java Projects in Velachery

    ReplyDelete
  46. Very interesting blog which helps me to get the in depth knowledge about the technology, Thanks for sharing such a nice blog...
    IOT Project Center in Chennai | IOT Project Center in Velachery | IOT Projects for BE in Pallikaranai | IOT Projects for ME in Taramani

    ReplyDelete
  47. Very interesting blog which helps me to get the in depth knowledge about the technology, Thanks for sharing such a nice blog...
    IOT Project Center in Chennai | IOT Project Center in Velachery | IOT Projects for BE in Pallikaranai | IOT Projects for ME in Taramani

    ReplyDelete
  48. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge.
    VLSI Project Center in Chennai | VLSI Project Center in Velachery | VLSI Projects in Pallikaranai | VLSI Projects in Guindy | VLSI Projects in Taramani

    ReplyDelete
  49. Very interesting topic. Helps to gain knowledge about lot of information. Thanks for posting information in this blog.
    Cloud Computing Project Center in Chennai | Cloud Computing Project Center in Velachery | Cloud Computing Project Center in Medavakkam

    ReplyDelete
  50. Really Very happy to see this blog. thanks for sharing such a amazing blog...
    Final Year Project Center in Chennai | Final Year Projects in Velachery

    ReplyDelete
  51. This is really very impressive article with useful content,thanks for sharing your amazing post.
    MatLab Project Center in Chennai | MatLab Project Center in Velachery | MatLab projects in Perungudi

    ReplyDelete
  52. Very interesting blog which helps me to get the in depth knowledge about the technology, Thanks for sharing such a nice blog..
    Java Project Center in Chennai | Java Project Center in Velachery | Java Projecs in Perungudi

    ReplyDelete
  53. Awesome Blog with informative concept. Really I feel happy to see this useful blog, Thanks for sharing such a nice blog.
    Java Project Center in Chennai | Java Projects Center in Velachery | Java Projects in Perungudi

    ReplyDelete
  54. Very interesting, good job and thanks for sharing such blog. It is very interesting to read. Its pretty good and well noted.
    Cloud Computing Project Center in Chennai | Cloud Computing Projects in Velachery

    ReplyDelete
  55. I read this article. I think You put a lot of effort to create this article. I appreciate your work.
    Embedded System Training Institute in Chennai | Embedded Training Center in Velachery | Embedded Training in Guindy

    ReplyDelete
  56. Thanks for sharing this information, it helped me a lot in finding valuable resources for my career
    Java Training Institute in Chennai | Java Training Center in Velachery | java Training in Chennai

    ReplyDelete
  57. It is very awesome and wonderful to visit your site.Thanks for sharing this information,this is helpful to me a lot...
    Java Training Institute in Chennai | java Training Center in Velachery | Java Training in Velachery | Online Training Institute in Velachery

    ReplyDelete
  58. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is helpful to me a lot...
    PCB Training Institute in Chennai | Online PCB Courses in Velachery | PCB Training in Velachery

    ReplyDelete
  59. I have read your blog. Your information is really useful for beginner. information provided here are unique and easy to understand.Thanks for this useful information.......
    PCB Design Training in Chennai | PCB Training Institute in Velachery | PCB Courses in Velachery | Online Training Institute in Velachery

    ReplyDelete
  60. I have read your blog. Your information is really useful for beginner. information provided here are unique and easy to understand.Thanks for this useful information.......
    PCB Design Training in Chennai | PCB Training Institute in Velachery | PCB Courses in Velachery | Online Training Institute in Velachery

    ReplyDelete
  61. Your Post is really wonderful and amazing content.Thanks for sharing such a useful blog and really good...
    Java Training Institute in Chennai | Java Training Center in Velachery | Online Training Institute in Velachery

    ReplyDelete
  62. Brilliant article. The information I have been searching precisely. It helped me a lot, thanks. Keep coming with more such informative article.
    C and C++ Training Institute in Chennai | C and C++ Training Center in Velachery | C & C++ Training in Velachery | Online Training in Velachery

    ReplyDelete
  63. I have read your blog. Your information is really useful for beginner. information provided here are unique and easy to understand. Thanks for this useful information. This is a great inspiring article. I am pretty much pleased with your good work.
    AWS Training Institute in Chennai | AWS Training Center in Velachery | AWS Certification Training in Velachery

    ReplyDelete
  64. Excellent post... Thank you for sharing such a informative and information blog with us.keep updating such a wonderful post..
    MicorSoft Azure Training Institute in Chennai | Azure Training Center in Chennai | Azure Certification Training in velachery | Online Azure training in Velachery

    ReplyDelete
  65. Your blog is really amazing, its very informative article and useful for everyone.. Thanks for
    sharing such a nice post..
    Java Training Institute in Chennai | Java Training Center in Velachery | Java Courses in Velachery | Java online Training in Velachery

    ReplyDelete
  66. Excellent information with unique content and it is very useful to know about the information based on blogs...
    ISTQB Certification Course in Chennai | ISTQB Certification Course in Tharamani

    ReplyDelete
  67. Excellent article.It is very useful for us.Thanks for sharing such a amazing article.keep sharing.
    MCSE Training Institute in chennai | MCSE online training | MCSE Offline training

    ReplyDelete
  68. Very informative blog.Thanks for sharing such a excellent blog.It is very useful for us.keep sharing

    such amazing blogs.
    SELENIUM Training

    institute in chennai
    | SELENIUM Online Training institute in chennai | SELENIUM Offline

    Training institute in chennai

    ReplyDelete
  69. Really very nice blog.It is very informative and useful for everyone.Thanks for sharing a wonderful blog.
    AWS Training Institute in Chennai | AWS Online Training Institute in Chennai | AWS Offline Training Institute in Chennai

    ReplyDelete
  70. Really amazing informative blog.Excellent blog with unique content.It is very useful for us.Thanks for

    sharing such a wonderful blog.
    C and C++ Training Institute in Chennai | C and C++ Online Training Institute in Chennai | C and C++ Offline Training Institute in Chennai

    ReplyDelete
  71. “Great share!” Each and every tips of your post are more informative and it was awesome to read.
    Thank you for such a great post…..

    ReplyDelete
  72. Awesome post…It is really very interesting to read. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging.


    Python Training Institute in Velachery | Python Training Institute in Chennai

    ReplyDelete
  73. Really very nice article!… Its shows amazing information with unique content. Thanks a lot for sharing such a wonderful article,
    JAVA Training Institute in Velachery | JAVA Training Institute in Chennai

    ReplyDelete
  74. Very Excellent and awesome Blog you are posted each and every Points are unique. Thanks for sharing such a nice Blog, keep on updating more
    Summer Courses Training in Tharamani|
    JAVA Training in Tharamani |
    Web Designing Training Center in Tharamani |
    Software Testing Training in Tharamani |
    Selenium Training in Tharamani |

    ReplyDelete
  75. Very Excellent and awesome Blog you are posted each and every Points are unique. Thanks for sharing such a nice Blog, keep on updating more
    Summer Courses Training in Tharamani|
    JAVA Training in Tharamani |
    Web Designing Training Center in Tharamani |
    Software Testing Training in Tharamani |
    Selenium Training in Tharamani |

    ReplyDelete
  76. The information you have here is really useful . It is truly supportive for us and I have accumulated some essential data from this blog.
    Web Designing Training Center in Chennai |
    Tally Training in Chennai |
    Selenium Training in Chennai |
    Summer Courses Training in Chennai|
    JAVA Training in Chennai |

    ReplyDelete
  77. Excellent Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
    Python Training in Chennai|
    Web Designing Training Center in Chennai |
    Tally Training in Chennai |
    AWS Training in Chennai|
    Hardware and Networking Training in Chennai |

    ReplyDelete
  78. This Article is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updating...
    AWS Training in Chennai|
    Web Designing Training Center in Chennai |
    Python Training in Chennai|
    Tally Training in Chennai |
    Dot Net Training in Chennai |
    Hardware and Networking Training in Chennai |

    ReplyDelete
  79. Your Blog is really an amazing content to read, its very useful for everyone. thanks for sharing such an wonderful post..
    PMP Exam Center in Chennai | PMP Certification in Velachery | PMP Exams in Velachery | Online Certification in Chennai

    ReplyDelete
  80. Really you are done a wonderful job. I learn more knowledge while reading this blog Please keep on updating More ...
    PMP Exams in Velachery|
    PMP Exams in Chennai|
    PMP Exams in Tharamani|
    PMP Exams in Perungudi|
    PMP Exams in Thambaram

    ReplyDelete
  81. Wonderful information and really its very much useful Blog . Thanks for sharing and keep updating like this …….
    ITIL Exams in Chennai|
    ITIL Exams in Velachery|
    ITIL Exams in Tharamani|
    ITIL Exams in Perungudi|
    ITIL Exams in Thambaram

    ReplyDelete
  82. Good information and really its very much useful Blog . Thanks for sharing and keep updating like this …….
    GRE Exams in Chennai|
    GRE Exams in Velachery|
    GRE Exams in Tharamani|
    GRE Exams in Perungudi|
    GRE Exams in Thambaram

    ReplyDelete
  83. This is useful post for me. I learn lot of new information from your post. keep sharing. thank you for share us...
    GRE Test Center in Chennai | GRE Test Center in Velachery | GRE Test in Chennai | Online GRE Exams in Velachery | Online GRE Certification in Velachery

    ReplyDelete
  84. Good information and really its very much useful Blog . Thanks for sharing and keep updating like this …….
    IELTS Exams in Chennai|
    IELTS Exams in Velachery|
    IELTS Exams in Tharamani|
    IELTS Exams in Perungudi|
    IELTS Exams in Thambaram

    ReplyDelete
  85. Impressive blog with Usefull information. Really very useful article for us thanks for sharing such a wonderful blog...
    ITIL Exams in Chennai|
    ITIL Exams in Velachery|
    ITIL Exams in Tharamani|
    ITIL Exams in Perungudi|
    ITIL Exams in Thambaram

    ReplyDelete
  86. Nice post.. Its really an amazing with informative information and useful for everyone. Thanks for sharing your wonderful article..

    AWS Certification in Chennai | AWS Exam Center in Chennai | AWS Exams in Velacheri | AWS Online Exams in Velachery | Online Certification in Chennai

    ReplyDelete

React UI, UI UX, Reactstrap React Bootstrap

React UI MATERIAL  Install yarn add @material-ui/icons Reactstrap FORMS. Controlled Forms. Uncontrolled Forms.  Columns, grid