Introduction to programming with Java
4.1 (1,111 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.
20,585 students enrolled

Introduction to programming with Java

Learn Java programming with examples, quizzes and coding exercises - Free Course.
4.1 (1,111 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.
20,585 students enrolled
Created by Kiril Anastasov
Last updated 4/2018
English
English [Auto-generated]
Price: Free
This course includes
  • 2 hours on-demand video
  • 2 articles
  • 2 downloadable resources
  • 8 coding exercises
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What you'll learn
  • At the end of the course, you will be able to program basic Java
  • At the end of the course, you will be able to build Object Oriented programs

  • At the end of the course, you will be able to create fun programs

Course content
Expand all 34 lectures 02:08:49
+ Introduction
1 lecture 01:09

Course Overview

Introduction
01:09
+ Overview of Java, Install Java 9 and set up eclipse
3 lectures 10:01
Computer programs
02:55

Hi everybody, Java 9 is not compatible with eclipse at the moments so you can use Java 7 or 8. If you do not have installed Java follow the video but do the same for Java 8 instead.

Install Java 9
05:17
Set up Eclipse
01:49
Computer programs and Java
2 questions
+ Basic Programming
7 lectures 19:14

Learn how to create a project and a class

Basic programming: How to create a project and a class in Java
04:13

In this video we go through the process of calculating the area of a circle in Java.

Calculate Area
04:16
ComputeAreaFromScanner
02:29
Compter Average
02:49
Java primitive data types
03:24
Java primitive data types
00:00
Fahrenheit to Celsius
02:03
Basic Programming
1 question
Converting pounds into kilograms
1 question
Computing the volume of a cylinder
1 question
+ If and switch statements
3 lectures 14:37
If statements - first part
04:38
If statements - second part
05:02

What is the correct if statement structure in Java

If statements
1 question
If statements
1 question
Switch statements
04:57
Switch statements
1 question

Can you convert a switch statement to an equivalent if statement, or vice versa?

Switch statements
1 question
Write a program that reads an integer and checks whether it is even.
1 question
+ For and While Loops
3 lectures 07:17
For loops - part one
02:10
For loops - part two
01:46
For loops
1 question

What are the three parts of a for loop control? 

For loops - 2
1 question

Write a for loop that prints the numbers from 1 to 100.

For loops - 3
1 question
While loops
03:21

What is the output of the following program?

int x = 10000;
while (x > 0) {
x++;
System.out.println("x is " + x);

}

While loops
1 question
Write a program that displays from 1 miles to 10 miles to kilometers
1 question
+ Methods
2 lectures 10:41
Methods - part one
05:37
Methods - part two
05:04
Methods
1 question

What are the benefits of using a method?

Methods - 2
1 question

How do you call a method?

Methods - 3
1 question
Write a program that displays the following table (1 mile is 1.609 km):
1 question
Write a class that contains the following two methods: Converts from Celsius to Fahrenheit
1 question
+ Arrays
2 lectures 14:49
Single-dimensional arrays
10:13

How do you declare and create an array?

Arrays - 1
1 question
Multidimensional arrays
04:36

Can the rows in a two-dimensional array have different lengths?

Arrays - 2
1 question
Write a program that reads ten integers and displays them in the reverse order.
1 question
+ Objects
2 lectures 11:08
Objects - part 1
06:10

How do you create an object?

Objects - 1
1 question
Objects - part 2
04:58

What is an accessor/mutator method?

Objects - 2
1 question
+ Text Input Output
1 lecture 06:12
Text Input/Output
06:12

How do you check whether a file already exists?

Text I/O - 1
1 question

What will happen if you attempt to create a Scanner for a nonexistent file?

Text I/O - 2
1 question
Write a program that finds the number of occurrences of a specified character in the string
1 question
+ Inheritance and Polymorphism
2 lectures 10:22
Inheritance
07:15

Does every class have a toString method?

Inheritance- 1
1 question
Polimorphism
03:07

What modifier should you use on a class so that a class in the same package can

access it, but a class in a different package cannot access it?

Polimprphism - 1
1 question
Requirements
  • Basic computer skills
  • Desire to continue when the course get through
Description

Did you know that If computer programming were a country, it would be the third most diverse for languages spoken! Still Java is one of the most used programming languages. Programming is hard and that is precisely why you should learn it and embrace the difficulty!

What others say about the course:

Jovani Etienne

"awesome instructor. just a nice stuff . keep it up"

Daniela Mihalkova

"Brilliant trainer – great charisma – lovely, relaxed, very clear. Really enjoyed the session, thank you!"

Payal Fichadiya  

"Very easy to understand"

I have been a software developer for a several years and I have been passionate about teaching for a long time. For example, in university I was helping my fellow friends with their homework's and assignments. I became Java SE 7 Certified Associate (OCA) in 2012 and ever since I have been passionate about Java. "Write Once, Use Anywhere" is probably one of the most important features of Java. 

This is an introduction to Java programming course that consist of over 2 hours of video lectures, 32 quizzes and 8 coding exercises. You do not need any programming experience. I will walk you step by step toward the projects. Starting by installing the required software JDK and Eclipse. Then we will go through Creating Projects, Classes and Packages. Next we will cover the programming logic and the syntax of Java. After each chapter there is a quick quiz to refresh your knowledge and there is an optional practical coding exercise to test if you are ready to continue to the next chapter.

 We are going to cover: 

  • Basic programming
  • If and switch statements
  • For and While Loops
  • Methods
  • Single and Multidimensional Arrays
  • Objects
  • Text Input/Outpu
  • Inheritance and Polymorphism
  • Abstract classes and Interfaces
  • Exceptions


Who this course is for:
  • People who want to learn how build java programs
  • People with somewhat experience that want to refresh their knowledge.