Posts by Caushik Subramaniam

Author Biographical Info: Not available

java.io.Console class in Java

By Caushik Subramaniam

The command-line environment that is often used to run programs is called a console. Though there are other methods for reading from and writing to the console, the Console class i.... Read More

How to serialize Python Dictionary to XML

By Caushik Subramaniam

Serialization refers to the process of translating a data structure or an object state into a format that can be stored in a database or transmitted over a network for reconstructi.... Read More

Find Frequency of each element in an unsorted array in Java

By Caushik Subramaniam

In this tutorial, we will learn to find how many times every element occurs in an array is required for solving many problems in competitive programming. If the array is not sorted.... Read More

Connect to a WiFi network in Python

By Caushik Subramaniam

Connecting a computer to the internet has become inevitable now. The connection can be made either with Ethernet technology or Wi-Fi technology. Though every Operating System offer.... Read More

Java Varargs | Variable arguments in Java

By Caushik Subramaniam

The Variable-Length Arguments or varargs in Java was introduced in Java 1.5. Either the method was overloaded or the arguments were passed in an array to the method before the vara.... Read More

Java program to swap all odd and even bits

By Caushik Subramaniam

Actually, 0 and 1 can do a lot. In fact, the reason behind today’s technology is, of course, 0 and 1. Any field, say, for instance, Networking, relies upon binary. If one of .... Read More

Factory Method Design Pattern in Java

By Caushik Subramaniam

A Design Pattern is a typical solution to the commonly occurring problems while designing software. Each design pattern is a solution proven to be efficient by software development.... Read More

Flow control in try-catch-finally in Java

By Caushik Subramaniam

An Exception is an unexpected event that might occur during the execution of a program. An unhandled exception can terminate a program abruptly. A try-catch block is meant to handl.... Read More