Spring Boot CRUD Operations with MongoDB

Spring Boot has become the go-to choice for developers when it comes to building robust and scalable applications. MongoDB, on the other hand, is a NoSQL database known for its flexibility and scalability. Combining Spring Boot’s power with MongoDB we can create efficient and high-performing applications. In this article, we are going to show you … Read more

Java Program for Calculating Average

In this article, we are going to create a command line application for calculating the Average. This application will be able to calculate the average with any number of numbers, there will be no limitations like it will take only 5 numbers or 6 numbers. You can consider this as a mini project for beginners … Read more

User Authentication Service Using Spring Boot

In this article, we are going to create a user authentication Service for our full-stack project, for this authentication service we use spring boot and MySQL Create a Spring Boot Project Let’s start with creating spring boot project . Go to https://start.spring.io/ and create a spring boot maven project with data JPA, mqsql, lambok and … Read more

Digits after decimal

In this article, we are going to find digits after decimals in given number. for this, we will write a java code. Example:- if n=145.258, then the output will be 258. Steps:- Java code to find digits after decimal numbers:- Output:- The same logic can be used to find digits after decimals in other programming … Read more

Sum of all divisors of a number.

In this article, we are going to find the sum of all divisors of a given number. Example:- if number = 6, then the output will be 1+2+3+6=12. Steps:- Java code to find the sum of all divisors of a given number:- Output:- You can use the same logic to find the sum of all … Read more