Manisha Chand has Published 34 Articles

Java Program to Calculate Simple Interest

Manisha Chand

Manisha Chand

Updated on 05-Jun-2025 11:05:06

3K+ Views

In this article, we will understand how to write a Java program to calculate simple interest. But, before doing it, let's understand how we calculate simple interest mathematically. The simple interest is a way to determine the amount of interest gained on a principal amount at the specified interest rate ... Read More

Importance of @JsonView annotation using Jackson in Java?

Manisha Chand

Manisha Chand

Updated on 05-Jun-2025 10:58:46

1K+ Views

Jackson Library: The @JsonView AnnotationIn Java, Jackson is a library that is used to convert JSON to Java objects and vice versa. Jackson Annotations are used during serialization and deserialization. We use these to denote or specify annotations before a particular field or method (that is ... Read More

Java Program to Check if two of three Boolean variables are true

Manisha Chand

Manisha Chand

Updated on 05-Jun-2025 10:51:50

464 Views

In this article, we will learn to check if any two out of three boolean values are true or not. Boolean variables are datatypes that contain only true or false values. Below is a demonstration of the same - Input: true, true, falseOutput : Two ... Read More

Java program to calculate the compound interest

Manisha Chand

Manisha Chand

Updated on 05-Jun-2025 10:48:07

16K+ Views

In this article, we will understand how to calculate compound interest in Java. Compound interest is calculated using the following formula. Amount = P(1 + R/100)t Compound Interest = Amount - Principle where, P is the principal amount T is the time R is the rate Compound interest is the interest ... Read More

Java Program to Find Even Sum of Fibonacci Series till number N

Manisha Chand

Manisha Chand

Updated on 05-Jun-2025 10:22:18

3K+ Views

In this article, we will learn how to find the even sum of the Fibonacci series up to a given number N. A Fibonacci series is a series where the next term is the sum of the previous two terms. An even Fibonacci series is a group of all the even numbers ... Read More

Java Program to Display All Prime Numbers from 1 to N

Manisha Chand

Manisha Chand

Updated on 05-Jun-2025 09:55:00

37K+ Views

In this article, we will understand how to display all the prime numbers from 1 to N in Java. All possible positive numbers from 1 to infinity are called natural numbers. A number is a prime number if its only factors are 1 and itself and cannot be divided by ... Read More

Importance of @JsonFilter annotation in Java?

Manisha Chand

Manisha Chand

Updated on 20-May-2025 19:02:42

1K+ Views

The @JsonFilter annotation belongs to Jackson Annotations. Jackson Annotations are used during serialization and deserialization to denote a particular field (or method) that is declared in Java as an instance variable, is a JsonProperty, and should be ignored, or what condition should be applied to it. It is used to ... Read More

Differences between org.simple.json and org.json libraries in Java?

Manisha Chand

Manisha Chand

Updated on 20-May-2025 14:46:45

3K+ Views

In Java, org.simple.json and org.json are two libraries that help in reading, writing, and manipulating JSON. But still, they are different. In this article, we are going to learn about these differences. Difference between JSON.simple vs JSON Let's see the below differences and they are - ... Read More

What is the use of @JsonRawValue annotation using Jackson API in Java?

Manisha Chand

Manisha Chand

Updated on 20-May-2025 14:39:57

2K+ Views

In Java, Jackson is a library that is used to convert JSON to Java objects and vice versa. Jackson Annotations are used during serialization and deserialization to denote a particular field that is declared in Java as an instance variable, is a JsonProperty, and should be ignored. We can also ... Read More

Importance of @JsonRootName annotation using Jackson in Java?

Manisha Chand

Manisha Chand

Updated on 20-May-2025 14:31:14

1K+ Views

In Java, Jackson is a library that is used to convert JSON to Java objects and vice versa. Jackson Annotations are used during serialization and deserialization. We use annotations with a particular field or method that is declared in Java.  So, Annotations make the JSON output clearer as we required. ... Read More

Advertisements