Shriansh Kumar has Published 175 Articles

Difference between YAML(.yml) and .properties file in Java SpringBoot

Shriansh Kumar

Shriansh Kumar

Updated on 17-Aug-2023 09:25:42

866 Views

Infrequently a SpringBoot developer may need an external configuration to define features for SpringBoot applications so that we can use the same application code in different environments. For this purpose, we can use YAML and .properties files that are used to store the required features. Despite similar functionality, there are ... Read More

Different name reusing techniques in Java

Shriansh Kumar

Shriansh Kumar

Updated on 02-Aug-2023 17:06:44

105 Views

In Java, there exist different name reusing techniques for various types of entities, sucha s variables, methods, datatypes or packages. These techniques affect the accessibility and behavior of the entities according to their need and use. In this article, we will discuss four common ways to reuse a name in ... Read More

Hierarchical Data in Pandas

Shriansh Kumar

Shriansh Kumar

Updated on 25-Jul-2023 12:21:50

1K+ Views

Hierarchical data is often used to represent multiple levels of nested groups or categories. For example, a company may have a hierarchy of employees, departments, and locations. A product may have a hierarchy of categories and subcategories. One of the challenges of working with hierarchical data is how to represent ... Read More

Percentile Rank of a Column in a Pandas DataFrame

Shriansh Kumar

Shriansh Kumar

Updated on 25-Jul-2023 12:19:36

1K+ Views

Finding the percentile rank is a common operation that is used for comparison between data of a single dataset. The end result of this operation shows a certain percentage is greater than or equal to the specified percentile. For instance, suppose a student obtains a score greater than or equal ... Read More

Plot Line Graph from NumPy Array

Shriansh Kumar

Shriansh Kumar

Updated on 25-Jul-2023 10:43:34

2K+ Views

A line graph is a common way to display the relationship between two dependent datasets. Its general purpose is to show change over time. To plot a line graph from the numpy array, we can use matplotlib which is the oldest and most widely used Python library for plotting. Also, ... Read More

ProcessBuilder in Java to create a basic online Judge

Shriansh Kumar

Shriansh Kumar

Updated on 21-Jul-2023 22:36:54

150 Views

Online judge is a platform that serves to compile, execute and evaluate programming solutions to a given problem. It is widely used for problem solving and organizing programming contests. To create a basic online judge in Java using ProcessBuilder class, define an instance of ProcessBuilder and specify the name of ... Read More

How to Add JAR file to Classpath in Java?

Shriansh Kumar

Shriansh Kumar

Updated on 21-Jul-2023 22:27:58

2K+ Views

While developing any Java application, we may require to use external libraries or modules that are packaged as JAR files. To use a JAR file in those Java applications, we need to add it to the classpath, which is a list of locations where the Java runtime can find and ... Read More

Difference Between JSP and PHP

Shriansh Kumar

Shriansh Kumar

Updated on 21-Jul-2023 22:26:19

472 Views

Both JSP and PHP are two popular technologies that serve to create dynamic web pages. Both are similar in the ways that they allow developers to embed code within an HTML document that can interact with databases, sessions, cookies, and other web features. However, they also have some significant differences ... Read More

Difference between JIT and JVM in Java

Shriansh Kumar

Shriansh Kumar

Updated on 21-Jul-2023 22:19:19

399 Views

When we start learning Java, we often come across the terms like JIT and JVM. Having a good understanding of the relationship and differences between both terms is crucial, as they are part of fundamental concepts in the Java programming language. JVM is the main component of the Java Runtime ... Read More

Difference Between Source Code and Byte Code

Shriansh Kumar

Shriansh Kumar

Updated on 21-Jul-2023 22:13:36

354 Views

When we start learning Java, we often come across the two terms Source code and Byte code. When a programmer writes Java code, it is in a form that a machine cannot understand. This code is termed as source code, which is easy to read and modify by humans, but ... Read More

Advertisements