Category

Programming Tutorials and Coding Guides

Explore programming tutorials with practical examples across multiple languages, scripting, and development concepts for beginners and advanced users.

Welcome to the Programming tutorials section, where you will learn coding concepts with real-world examples across multiple languages and platforms.

This category includes beginner to advanced guides covering scripting, automation, and application development in Java, JavaScript, Python, Go, TypeScript, and related stacks.

Whether you are learning programming for system administration or building applications, browse the articles below for practical examples and language-specific references.

Programming plays a crucial role in modern infrastructure and DevOps workflows. You can also explore DevOps and Linux to see how code integrates with system-level operations.

956 articles

Programming category illustration with code editor, automation, and debugging graphics
programming

Logical Operators in Java Explained

Logical operators in Java can be divided into, Logical OR Operator(||), Logical AND Operator(&&), Logical NOT Operator (!)

Deepak Prasad6 min read
programming

Bitwise Operators in Java Explained

Bitwise operators in Java are binary operators that works on bits to perform its operations. Java supports the following Bitwise operators: Bitwise OR Operator(|), Bitwise AND Operator(&), Bitwise XOR Operator (^), …

Deepak Prasad6 min read
programming

Relational Operators in Java Explained

In this tutorial, we covered all relational operators in Java. We learned in detail about the syntax and how we can use this operators with different data types and objects with example.

Deepak Prasad7 min read
programming

Java Operators Explained [Easy Examples]

There are a total of eight java operators. Arithmetic, Rational, Logical, Bitwise, Assignment, Shift, Unary, Ternary operators

Bashir Alam11 min read
programming

Supervised Learning Algorithms Explained [Beginners Guide]

An algorithm is a set of instructions for solving a problem or accomplishing a task. In this tutorial, we will learn about supervised learning algorithms. We

Bashir Alam8 min read
programming

Different Types of Machine Learning Explained [Beginners Guide]

The different types of machine learning are supervised, unsupervised, semi- supervised, reinforcement

Bashir Alam9 min read
programming

Python set difference() Tutorial [Practical Examples]

The difference between the two sets in Python is equal to the difference between the number of elements in two sets. The Python set difference function returns a set that is the difference between two sets.

Bashir Alam9 min read
programming

Java throw exception explained [Simple Examples]

Multiple examples to learn about the java throw exception and the throws keyword to handle java exceptions in java programming language

Bashir Alam11 min read
programming

Java Parameter Explained [Easy Examples]

Java parameters are variable names with type that is declared within the method signature. The list of parameters is enclosed in parenthesis and each parameter consists of two parts: type name followed by the variable …

Bashir Alam8 min read
programming

Java Arguments Explained [Easy Examples]

Java arguments are the actual values that are passed to variables defined in the method header when the method is called from another method. Remember that these are not the variables but actual values

Bashir Alam8 min read
programming

Java Byte Explained [Easy Examples]

A group of binary digits or bits operated on as a unit is called byte. A java byte is considered as a unit of memory size. A byte is a unit of digital information that most commonly consists of eight bits.

Bashir Alam8 min read
programming

Java Class Constructor Explained [Easy Examples]

Java class constructor syntax and Examples. Difference between Java class constructor and Java method. Java parameterized constructor. Java constructor chaining, Overloading Java constructor

Bashir Alam9 min read
programming

Java Array Explained [Easy Examples]

Java Array is one of the data structures, which is a collection of variables of the same data type that are referenced by a common name. Arrays consist of contiguous memory locations. The first address of the array …

Bashir Alam10 min read
programming

Thread in Java Explained [Simple Examples]

there are two different ways to run the thread in Java programming language. Extend the Thread class and then creating a new subclass and Create a new thread using the runnable interface

Bashir Alam8 min read
programming

Java date & time Format Explained [10+ Examples]

Java provides the Date class available in java.util package, this class encapsulates the current date and time.

Bashir Alam9 min read
programming

Java read file using 5+ methods [Easy Examples]

Java read file using Desktop class, FileInputStream, BufferedReader, FileReader, Scanner, and readAllLines() methods by taking different examples

Bashir Alam8 min read
programming

Java create & write to file Examples

Java.io.File, Java.io.FileOutputStream, and NIO Files.write() method to java create files by taking different examples. Moreover, we will also discuss various methods to write in java files including bufferedWriter, …

Bashir Alam10 min read
programming

IndexOf() Java Method Explained [Easy Examples]

The IndexOf() Java method finds the index position at which a specified string begins. This method helps us to find a string within another string. The

Bashir Alam8 min read
programming

Java break & continue statements Explained [Easy Examples]

Related Searches: java break, java continue, break statement in java, java break for loop, continue statement in java, break while loop, java exit for loop,

Bashir Alam9 min read
programming

while loop | do while loop Java Explained [Easy Examples]

Multiple examples to learn while loop java and do while loop java. Syntax and explanation to use. nested while loop

Bashir Alam10 min read
programming

For Loop Java | For Each Loop Java [Easy Examples]

In this tutorial, we will learn about for loop java from very basics to advance level concepts. We will cover the initializer, condition, and post iteration

Bashir Alam11 min read
programming

If Else Java Statement Explained [Easy Examples]

Multiple examples to use if else java statement. Use if else nested blocks. Use if else inside a loop in Java programming language.

Bashir Alam10 min read
programming

Java Booleans Explained [Easy Examples]

Java Boolean is an inbuilt class that wraps are used for wrapping the value of primitive data type, i.e. boolean in an object. The boolean class contains two values, i.e. true or false. Java provides a wrapper class …

Bashir Alam11 min read
programming

Java Math Class Explained [Easy Examples]

Java Math class has methods for performing more advanced math calculations. abs, ceil, floor, max, min, round, random methods in math class

Bashir Alam11 min read
programming

Java Variables Examples [Different Variable Types]

The most popular types of Java variables are Instance, Local and Static variables. We learned about the declaration, initialization, and syntax of variables.

Bashir Alam10 min read
programming

Java Multiline Comments [Methods & Examples]

In this tutorial, we learned about Java multiline comments, single line and inline comments. We covered different types of comments that we supported by java programs like a single line, multiline and Javadoc.

Bashir Alam10 min read