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. Whether you are learning programming for system administration or building applications, these tutorials will help you gain practical experience.

Programming plays a crucial role in modern infrastructure and DevOps workflows. You can also explore related topics such as DevOps and Linux to understand how programming integrates with system-level operations.

What you will learn

  • Core programming concepts and logic building
  • Writing scripts for automation and system tasks
  • Debugging and optimizing code
  • Practical use cases in real environments

Who should read this

  • Beginners starting with coding
  • System administrators learning scripting
  • Developers looking for practical examples

957 articles

Java Arrays.asList Explained

The java Arrays.asList function returns a fixed-size list that contains a java Array. It acts like a list wrapped around an array, it provides a list view to an …

By Azka Iftikhar · 7 min read · programming

How to Compare Characters in Java

There are several ways to compare characters in java as listed below, Using Relational Operators, Using Character.compare(), Using Character.hashCode(), Using …

By Deepak Prasad · 6 min read · programming

How to initialize List in Java

Following methods can be used in Java to initialize list. The list interface can be initialized through 4 list classes: ArrayList, LinkedList, Stack, Vector

By Azka Iftikhar · 7 min read · programming

How to Compute Square in Java

There are four different ways to compute square of a number in Java, Using multiplication operator *, Using Math.pow() function, Using BigInteger.pow() …

By Deepak Prasad · 7 min read · programming

How to Copy a File in Java [Practical Examples]

The list below shows five different ways in which we can copy a file in Java. Using FileInputStream and FileOutputStream Using Paths and Files Using …

By Deepak Prasad · 6 min read · programming

Convert double to String in Java

The list below shows eight different ways in which we can convert double to string in Java. Using + operator Using String.valueOf() Using Double.toString() …

By Deepak Prasad · 11 min read · programming

How to get Current Date in Java

The list below shows eight different ways to get current date in Java Using java.util.Date, java.util.Calendar, java.time.LocalDateTime, java.time.LocalDate, …

By Deepak Prasad · 6 min read · programming

How to check if file exists in Java [Practical Examples]

In Java, there are three different ways to check if file exists or not such as Using exists method of Legacy I/O File class, Using isFile method of File class, …

By Deepak Prasad · 6 min read · programming

Master the Best Techniques for Node.js Sleep

Explore the ins and outs of Node.js sleep methods. Dive into best practices, common mistakes, and powerful techniques to optimize performance and efficiency in …

By Deepak Prasad · 12 min read · programming

JavaScript setTimeout(): Delay Code Execution

Learn JavaScript setTimeout() with delay examples, clearTimeout(), callback arguments, async behavior, and common mistakes in browsers and Node.js.

By Deepak Prasad · 4 min read · programming

Install Node.js on Ubuntu 20.04 [3 Different Methods]

In this tutorial we cover 3 different ways to install node.js in Ubuntu 20.04 i.e. Installing from the Ubuntu repository, Installing Node.js from NodeSource., …

By Deepak Prasad · 5 min read · programming

How to reverse a list in Java [4 Different Methods]

We can reverse a list in Java using four different ways i.e. Using add and remove method, Using recursion, Using reverse method of Collections, Using …

By Deepak Prasad · 6 min read · programming

Accessor and Mutator Methods in Java

The knowledge of Java Accessor and Mutator is very useful as it implements encapsulation, which is one of the important feature of Object oriented Programming.

By Deepak Prasad · 7 min read · programming