Introduction to Java: Variables

When performing simple math calculations, we usually store certain results in variables for later use. The same logic applies to programming languages.

In Java, we store users’ inputs, results, and values into variables. When we store a value in Read more

Read More

Introduction to Java: Classes

When it comes to classes and object-oriented programming languages, they represent the basic building blocks. In other words, the entire codebase is organized in classes.

Furthermore, the class itself should be placed in the file with the .java Read more

Read More

Introduction to Java: Basics of Java Syntax

In programming, syntax refers to the set of rules which dictate how we, developers, should write our code. These rules ensure your code is structured in a way the compiler can understand.

It is important to learn Read more

Read More

Introduction to Java: Operators

In this tutorial, we are going to talk about operators in Java. Simply put, an operator is a special symbol we can apply to a set of variables, values, or literals and returns a result.

Additionally, we use Read more

Read More

Introduction to Java: Data Types

In this tutorial, we’ll learn about data types in Java. This tutorial is part of the “Java for Beginners” series.

The purpose of having data types is to let Java know what each variable represents. Just like Read more

Read More

Camel Case vs. Snake Case

In the programming world, we distinguish two different naming conventions – Camel Case and Snake Case. We use these conventions when naming classes, variables, methods, packages, enums, interfaces, etc.

Now, the choice between Camel Case and Snake Case often Read more

Read More