Shriansh Kumar has Published 175 Articles

Simple Bill Splitter Application using Java Servlets

Shriansh Kumar

Shriansh Kumar

Updated on 12-May-2023 17:45:25

236 Views

Servlets are small java modules that are used on server side of a web connection to enhance the functionality of web server. All the methods and classes for creating a servlet are available in ‘javax.servlet’ and ‘javax.servlet.http’ packages. Hence, it is important to import them into your program before working ... Read More

Separators in Java

Shriansh Kumar

Shriansh Kumar

Updated on 12-May-2023 17:41:53

2K+ Views

Separators are one of the building blocks of a Java program that helps us to differentiate the regions of the block of code and arrange groups of codes or statements. They help us in defining scopes of particular variables and methods. Have you ever missed a bracket while defining a ... Read More

Sorting Elements of Arrays and Wrapper Classes that Already Implements Comparable in Java

Shriansh Kumar

Shriansh Kumar

Updated on 12-May-2023 17:29:57

194 Views

Java provides a variety of sorting algorithms and methods that can help us to sort arrays, lists or any collections. The comparable interface is an additional way that is useful when we want to sort custom objects by their natural ordering. For example, It sorts strings in dictionary order and ... Read More

Sorting Custom Object by Implementing Comparable Interface in Java

Shriansh Kumar

Shriansh Kumar

Updated on 12-May-2023 17:27:45

421 Views

Java provides a variety of sorting algorithms and methods that can help us to sort arrays, lists or any collections. The comparable interface is an additional way that is useful when we want to sort custom objects by their natural ordering. For example, it sorts strings in dictionary order and ... Read More

Sorting a 2D Array according to values in any given column in Java

Shriansh Kumar

Shriansh Kumar

Updated on 12-May-2023 17:26:18

811 Views

Array is a linear data structure that is used to store a group of elements with similar datatypes. It stores data in a sequential manner. Once we create an array we can’t change its size i.e. it is of fixed length. Suppose we have a 2D array of order M ... Read More

Java Program for Minimum product subset of an array

Shriansh Kumar

Shriansh Kumar

Updated on 12-May-2023 17:23:29

199 Views

Array is a linear data structure that is used to store a group of elements with similar datatypes. It stores data in a sequential manner. Once we create an array we can’t change its size i.e. it is of fixed length. The problem statement states that for a given array ... Read More

Spring vs. Struts in Java

Shriansh Kumar

Shriansh Kumar

Updated on 12-May-2023 17:21:29

674 Views

Spring and Struts are the two most famous Java Web Frameworks available nowadays. They serve to build web applications through Java programming language. To work with these frameworks one needs to have a strong background and understanding of Java. The features and capabilities of both frameworks make it difficult to ... Read More

Step by Step guide to install Intellij Idea

Shriansh Kumar

Shriansh Kumar

Updated on 12-May-2023 17:15:27

3K+ Views

IntelliJ Idea is a cross-platform integrated development environment that is designed to develop applications written in JVM based languages like Java and Kotlin. JetBrains has developed this java IDE. It is supported on all popular operating systems like Windows, Mac, Linux. If you want to install this powerful IDE ... Read More

StreamCorruptedException in Java

Shriansh Kumar

Shriansh Kumar

Updated on 12-May-2023 16:51:50

387 Views

In java, StreamCorruptedException occurs when problem is found with the data being read from or written to a stream. The problem may be the data we are reading or writing is in the wrong format or contains errors. If the format of given file is not correct. When stream has ... Read More

Serializable Interface in Java

Shriansh Kumar

Shriansh Kumar

Updated on 12-May-2023 16:41:48

866 Views

The Serializable interface provides the facility to serialize an object. It does not define any methods and member variables. When a class implements serializable interface it simply indicates this class and its sub-classes can be serialized. The serializable interface serves to achieve the Serialization and Deserialization of an object. In ... Read More

Advertisements