filmov
tv
Introduction to writing static methods in Java; Intro Java course Lesson 5 Video 1
Показать описание
This series of videos is suitable for programmers with minimal (or no) programming experience who want to learn Java. This is the twenty-sixth video in the Introductory Java series, and the first video in lesson 5 (static methods). In this video we're going to overview writing static methods in Java, including value-returning methods and methods that take parameters. We'll briefly cover topics such as flow of control and scope, but all of these topics will be dealt with in depth in future videos in this lesson. We also briefly cover structure charts.
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
This video is suitable to watch after reading Chapter 4 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
Practice writing the first version of the program in the video (a method with no parameters and no return value) here*:
Practice writing the second version of the program in the video (a method with parameters and no return value) here*:
Practice writing the third version of the program in the video (a method with parameters and a return value) 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 5 is here:
RESOURCE ATTRIBUTIONS
Las Vegas image retrieved from:
Attribution:
Structure chart example image retrieved from:
Attribution:
Pluke, Public domain, via Wikimedia Commons
Java JDK image from Oracle:
Java coffee cup image:
00:00 Welcome and what we're going to talk about
00:24 Definition of a method
01:17 Writing a void method with no parameters
09:25 Adding parameters to our method
15:44 Adding a return value to our method
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
This video is suitable to watch after reading Chapter 4 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
Practice writing the first version of the program in the video (a method with no parameters and no return value) here*:
Practice writing the second version of the program in the video (a method with parameters and no return value) here*:
Practice writing the third version of the program in the video (a method with parameters and a return value) 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 5 is here:
RESOURCE ATTRIBUTIONS
Las Vegas image retrieved from:
Attribution:
Structure chart example image retrieved from:
Attribution:
Pluke, Public domain, via Wikimedia Commons
Java JDK image from Oracle:
Java coffee cup image:
00:00 Welcome and what we're going to talk about
00:24 Definition of a method
01:17 Writing a void method with no parameters
09:25 Adding parameters to our method
15:44 Adding a return value to our method
Комментарии