Learning Java using JShell
4.6 (14 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
9,561 students enrolled

Learning Java using JShell

Covers variables, operators, conditional statements like loops and methods
4.6 (14 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
9,561 students enrolled
Created by Christoph Tornau
Last updated 1/2019
English
Current price: $13.99 Original price: $19.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 3 hours on-demand video
  • 2 downloadable resources
  • 1 coding exercise
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • You made the start with Java programming and can execute simple commands using the JShell.
  • You can use JShell for the first usefull programms.
Course content
Expand all 40 lectures 03:05:31
+ Introduction and Installation
2 lectures 12:57

Introduction to the new approach of starting to learn programming of this course. Content of the course.

Preview 04:43

You download and install the Oracle Java JDK. Afterwards we will start JShell.

Preview 08:14
+ Operators and Variables
4 lectures 15:00

We are doing some simple math.

Preview 01:33

First commands in JShell.

Preview 02:10

Introduction to variables.

Preview 06:07

Variables practically used.

Preview 05:10
+ String, Chars and Booleans
2 lectures 09:50

Defining and using variables with text and logical values including the use of their operators.

String, Chars and Booleans and their Special Operators
06:00
In Practice: String, Chars and Booleans and their Special Operators
03:50
+ Compound Assignment Operators and Unary Operators
4 lectures 10:37

The compound assignment operators save you some typing.

Compound Assignment Operators
03:08

Only one input variable.

Unary Operators
01:47

See compound and unary operators in action.

In Practice: Compound and Unary Operators
04:00

It's time for a small break and a summary of what we have learned.

Summary Variables and Operators
01:42
+ The If-Statement
4 lectures 12:15

Using flow charts to demonstrate the If-Statement.

Preview 05:20

We have If-Statements within JShell.

In Practice: If-Statement
03:03

An If-Statement as an operator.

Ternary Operator
02:29

Let's compute a maximum with the ternary operator.

In Practice: The Ternary Operator
01:23
+ The Switch-Statement
2 lectures 11:05

Description of the Switch-Statement and some words about the Break-Statement.

The Switch-Statement
04:33

Always use break;

In Practice: The Switch-Statement and the common pitfall in it
06:32
+ The While-Loop and the Do-While-Loop
3 lectures 12:27

The While-Loop and the Do-While-Loop as flow chart and code and their differences.

The While-Loop and the Do-While-Loop
06:04

The While-Loop with curly braces and without.

In Practice: The While-Loop
03:23

The Do-While-Loop with curly braces and without and the differences to the While-Loop.

In Practice: The Do-While-Loop
03:00
+ Arrays
5 lectures 15:57

What are Arrays?

Introduction into Arrays
03:06

There are two ways to define an array.

Defining an Array
02:37

Writing to and reading from an array. The bounds of an array and the error messages you get.

Using an Array
03:50

Arrays in Arrays

Multidimensional Arrays
02:34

Practical examples of arrays.

In Practice: Using Arrays
03:50
+ The For-Loop and the For-Each-Loop
6 lectures 18:23

How the For-loop looks like in code and in a flow chart diagram.

Introduction into the For-Loop
04:46

Why programmers use the For-loop so often.

Advantages and Disadvantages of the For-Loop
02:29

How to use the For-Loop together with an array or an iterator.

For-Loops with Arrays and Iterators
02:16

A relative to the For-Loop.

For-Each-Loops
02:10

Diving into more features of the For-Loop

More features: Curly braces and break & continue
02:42

Have a look at an example of the For-Loop and the For-Each-Loop in JShell.

In Practice: The For-Loop & the For-Each-Loop
04:00
+ Methods
3 lectures 18:33

Basics about methods. How a method is declared and how it is invoked.

Introduction into methods
08:08

Let's create some methods and use them using JShell.

In Practice: Methods
05:47

Normally there is a fixed number of parameters to a method. But it is possible to provide a variable number of parameters.

Methods with variable parameter lists
04:38
Requirements
  • Basic knowledge about your computer.
  • The course is for the Windows operating system. But you can transfer it to other operating systems.
  • A learning mind. Learning a programming language is not easy and takes a lot of time and dedication.
Description

This course is intended for all students who are new in programming and want to learn a programming language. It covers a new approach to learn to program by using the shell which is included since Java 9. It covers the basic concepts of variables, variable assignments, operators and conditional statements like the if-statement or the while-loop. It does not cover object oriented programming which has to be learned separately.

Who this course is for:
  • Bloody beginners in programming who learn Java as their first programming language.
  • Students who are overwhelmed by the very first start.