October 3, 2024

Content

Java – Basic Syntax

We a are going to examine the basic syntax of the Java programming language. Just like you already know, Java ...

Java – Keywords

In this tutorial, we would examine various Java keywords beginning with Java Modifiers We would cover the following. Java Modifiers ...

Java – Classes and Objects

We are going to cover classes and objects in Java. First, keep in mind that Java is an Object Oriented ...

Java – Constructors

IntroductionConstructor with no ArgumentsParameterized ConstructorsCreating new Objects 1. Introduction Constructors in Java are what we use to create new objects ...

Java – Basic Data Types

Introduction to Data TypesPrimitive Data TypesReference Data TypesLiterals in JavaEscape Sequences 1. Introduction to Data Types First of all, you ...

Java – Variable Types

I'm sure you already know what a variable in Java is. Just a memory location to store values. However, you ...

Java – Access Modifiers

We use access modifiers to set the access level for variables, methods, classes and constructors. We would examine the following: ...

Java – Non-Access Modifiers

Java provides the following four non-access modifiers Static Modifier (static keyword) Final Modifier (final keyword) Abstract Modifier (abstract keyword) Synchronized ...

Java – Basic Operators

Basic Java Operators includes the following: Arithmetic Operators Relational Operators Bitwise Operators Logical Operators Assignment Operators Miscellaneous Operators 1. Arithmetic ...

Java – Loops

We would learn about loops in this lesson. Hence we would cover the following 5 topics. Introduction to Loops in ...

Java – Conditional Statements

We would consider if statements in this lesson. Then we would also look at switch statement. Finally, we would examine ...

Java – The Number Class

I am sure you can use numbers now. At least you know about int, long, double etc. So these are ...

Java – The Character Class

You probably know the difference between primitive types and wrapper classes. I recommend a brief review of this under Java ...

Java – The String Class

We have previously covered: The Number Class and  The Character Class. In this tutorial, we would examine the String class. I believe you ...

17 Java – Arrays

An array is a data structure that stores a fixed-size sequential collection of items. However, the items need to be ...

Java – Date and Time – Part 1

In this lesson, you will learn how to use date and time data in Java. The Date class is found ...

Java – Date and Time – Part 2

So we would just continue with Date and Time. You can review Date and Time Part 1 if you have ...

Java – Regular Expressions – 1

We are going to learn about  Regular expressions in Java under the following topics: Introduction to Regular expressions Useful Classes ...

Java – StringBuffer & StringBuilder

You already know by now that Strings in Java are immutable. This means we can't modify them once created. Hence ...

Java – String Methods

In this lesson, we are going to learn about various String methods. If you would need to manipulate strings, then ...

Java – Regular Expressions – 2

We have already covered the basics of regular expressions in Part 1.  I recommend you review it. Now we are ...

Java – Streams

We would be taking about Java Streams in this lesson. Interestingly, the classes you need to work with streams are ...

Java – ArrayList and LinkedList

I have decided to treat ArrayList and LinkedList together. This is because they are basically the same from the programmer's ...

Java – Reading & Writing to Files

We have covered Streams(Input Stream and OuputStream) in the previous lesson. We also treated Standard Streams.  Now, you will learn ...

Java – Vectors

We have already discussed ArrayLists and  LinkedList. We also discussed difference between ArrayList and Lists in Java. I suggest you ...

Java – Hashtables

In this lesson, I would teach you all you need to be able to use Hashtables in Java. A hashtable ...

Java – Working with Generics

This would be a practical tutorial on working with generics in Java. It would be step by step simple explanation ...

Advanced Java – What is Reflection?

In this tutorial, you will learn about Reflection in Java and how to use it. Overview of Java Reflection How ...