filmov
tv
Looping patterns in Java (summing, find largest value, sentinel); Intro Java course Lesson 4 Video 2

Показать описание
This series of videos is suitable for programmers with minimal (or no) programming experience who want to learn Java. This is the nineteenth video in the Introductory Java series, and the second video in lesson 4 (looping). In this video we're going to look at some common looping patterns, such as summing values encountered in a loop, finding the largest or smallest value, and looping until a specific value is reached. We'll iterate over Strings to illustrate these patterns, and we'll further discuss the increment operator.
There is a suggested (free) book below that you could read along with the videos lessons. However, the video is very straightforward and can also stand alone or accompany any other introductory Java textbook. Let's have some fun learning to program in Java!
PLAYLIST
BOOK AND WEBSITE RESOURCES
Here's the video on complementing Boolean expressions:
This video is suitable to watch after reading Chapters 2 and 3 of Introduction to Programming Using Java, by David J. Eck:
The Elements of Java Style text is available here*:
*As an Amazon Associate I earn from qualifying purchases. Your purchases help me continue to bring you content!
The Open JDK page is here:
The Eclipse IDE page is here:
PRACTICE
You can practice writing the summing and most wanted loop here*:
You can practice writing the sentinel loop here*:
If you want to earn credit for learning to code, take an online course at CCRI! These videos are part of the Java Programming course:
GET THE CODE
The github repository with all of the code examples for Lesson 4 is here:
RESOURCE ATTRIBUTIONS
MIT News page about Margaret Hamilton:
The Basic Latin unicode table can be found here:
Java JDK image from Oracle:
Java coffee cup image:
00:00 Welcome, what you need to know to get the most from this video
00:35 String properties
01:40 Who's the woman in the thumbnail?
02:18 Iterating over a collection / String
05:58 The increment operator
06:53 Accumulating / gathering
08:28 Most wanted holder
11:20 Sentinel loop
14:45 The increment operator, revisited
There is a suggested (free) book below that you could read along with the videos lessons. However, the video is very straightforward and can also stand alone or accompany any other introductory Java textbook. Let's have some fun learning to program in Java!
PLAYLIST
BOOK AND WEBSITE RESOURCES
Here's the video on complementing Boolean expressions:
This video is suitable to watch after reading Chapters 2 and 3 of Introduction to Programming Using Java, by David J. Eck:
The Elements of Java Style text is available here*:
*As an Amazon Associate I earn from qualifying purchases. Your purchases help me continue to bring you content!
The Open JDK page is here:
The Eclipse IDE page is here:
PRACTICE
You can practice writing the summing and most wanted loop here*:
You can practice writing the sentinel loop here*:
If you want to earn credit for learning to code, take an online course at CCRI! These videos are part of the Java Programming course:
GET THE CODE
The github repository with all of the code examples for Lesson 4 is here:
RESOURCE ATTRIBUTIONS
MIT News page about Margaret Hamilton:
The Basic Latin unicode table can be found here:
Java JDK image from Oracle:
Java coffee cup image:
00:00 Welcome, what you need to know to get the most from this video
00:35 String properties
01:40 Who's the woman in the thumbnail?
02:18 Iterating over a collection / String
05:58 The increment operator
06:53 Accumulating / gathering
08:28 Most wanted holder
11:20 Sentinel loop
14:45 The increment operator, revisited