Introduction to Java: First Java Program

Posted by Hayri Cicek on June 07, 2019

In this tutorial we will learn how to write, compile and run our first Java program.
You need to have Java installed on your system, go to https://openjdk.java.net/ and download JDK for the operating system you use.


Read More →

Introduction to Java: If Statements

Posted by Hayri Cicek on June 08, 2019

If statement is the most basic way of test a condition. With the if statement you test if a condition is true or false.


Read More →

Introduction to Java: Switch Statements

Posted by Hayri Cicek on June 09, 2019

Switch Statement is used when we want to check equality of a variable against number of values.


Read More →

Introduction to Java: For Loop

Posted by Hayri Cicek on June 10, 2019

In this tutorial, you will learn how to create a for loop. A loop is used to repeat a specific block of code until the condition is met.


Read More →

Introduction to Java: While Loop

Posted by Hayri Cicek on June 11, 2019

While-loop executes a block of code as long as a specified condition is true.


Read More →

Introduction to Java: Arrays

Posted by Hayri Cicek on June 12, 2019

Arrays are a collection of elements having same type. To declare an array, we define the variable type with square brackets.


Read More →

Introduction to Java: Methods

Posted by Hayri Cicek on June 14, 2019

Methods in Java is a block of statements that must be in a class and can be executed by calling it from other places.


Read More →