In this tutorial, I will be showing you what variables are and how they work in Java. Variables are simply a representation of a value. Like in basic arithmetic, you can have x = 1. But in Java, the equal sign = is actually not an equal sign; it is an assignment operator. What that […]
Category: JAVA
Reserved Keywords
A reserved keyword are words reserved by Java that cannot be used as identifiers (e.g., variable names, method names, class names). If a reserved keyword was used as a variable you would get an error or unexpected result. Here is a list of keywords that are reserved for use by the Java language: abstract assert […]

1.5 Java | Identifiers
Identifiers are the names that identify elements like classes, methods, and variables in a program. For example; java, util, Scanner, Fnumout, main, String, args, System, out, println, Scanner, in, fnumber, input, nextDouble, etc. are all identifiers, or the names of things that appear in the program example below: import java.util.Scanner; public class Fnumout { public […]

The List Abstract Data Type – Data Structures in Java
The majority of real-world lists can be represented as 3 types: unsorted, sorted, and indexed. We will use list interfaces that support the similarities and differences between the 3 mentioned list types. We will also use both arrays and references (reference as in linked list, for example) to implement our Abstract Data Type (ADT). The […]
Data Abstraction & Data Encapsulation in Java
What is Data Abstraction in Java? Short Explanation Data abstraction on the other hand is something completely different. It is used in OOP to unify all generic and most common attributes about a data structure to build a foundation and prevent redundancy in your software design. That’s basically where inheritance comes into the picture. Abstraction […]