Create spring boot project in Spring tool suite [STS]
Hey guys in post, we will learn how to create spring boot project in STS. There are many ways to create spring boot project, Spring tool suite (STS) IDE also…
Hey guys in post, we will learn how to create spring boot project in STS. There are many ways to create spring boot project, Spring tool suite (STS) IDE also…
Hey guys in this post we will discuss the most commonly used HTTP status codes with completed examples. HTTP response status codes indicate whether a specific HTTP request has been…
Hey guys today in this post i am going explain about Spring, Spring MVC, Spring REST and Spring Boot annotations. So let's begin.. What is annotation? Annotations are primarily used…
Hey guys in this article we will discuss how to convert Javascript objects into an array. There are scenarios where we need to convert a javascript object into an array…
Hey guys in this post let's discuss aboutsorted()introduced in Java 8 java.util.stream.Steam interface. On the streams() we can perform some aggregate operations such as filter(), sorted() and map(). In this…
Hey guys in this post let's discuss about filter() introduced in Java 8 java.util.stream.Steam interface. On the streams() we can perform some aggregate operations such as filter(), sorted() and map().…
Hey guys in this post we will discuss angular structural directive ngFor. This directive will be used to loop through the items or list inside the view template. let's look…
Hey guys in this post we will discuss how to make HTTP GET requests in Angular 10. We will use Fake REST API to make the GET requests. Here is…
Test cases Test cases Expected Result frontBack(abcd) dbca OK frontBack(Bee) eeB OK frontBack(MazE) EazM OK Java solution: public class Program10 { public static void main(String[] args) { Program10.frontBack("abcd"); Program10.frontBack("Bee"); Program10.frontBack("MazE");…
Test cases Test cases Expected Result searchElement({33,44,21,98,27,94},21) true OK searchElement({1232,432,546,980,984},980) true OK searchElement({3,4,9,87,29},2) false OK Java solution: public class Program9 { public static void main(String[] args) { int a[] =…
Test cases Test cases Expected Result arraySum({5,5,5,5,5}) 25 OK arraySum({1,3,4,7,8}) 23 OK arraySum({100,200,300}) 600 OK Java solution: public class Program8 { public static void main(String[] args) { int a[] =…
Hello everyone, today in this post I will show you how to design google style login page with HTML and CSS so let's begin. index.html <!DOCTYPE html> <html lang="en"> <head>…
Test cases: Test cases Expected Result countConsonents(instanceof is for references only) -->[18] 18 OK countConsonents(Object Oriented) -->[8] 8 OK countConsonents(Design Patterns88) -->[10] 10 OK Java solution: public class Program7 {…
Test cases: Test cases Expected Result countVowels(instanceif is for references only) 11 OK countVowels(Object Oriented) 6 OK countVowels(Design Patterns) 4 OK Java solution: public class Program6 { public static void…
Test cases: Test cases Expected Result stringConcat(Hello,World) Hello World OK stringConcat(Code,ranch) Code ranch OK stringConcat(Web,Application) Web Application OK Java solution: public class Program5 { public static void main(String[] args) {…
Test cases: Test cases Expected Result or35(15) true OK or35(8) false OK or35(12) true OK Java solution: public class Program4 { public static void main(String[] args) { Program4.or35(15); Program4.or35(8); Program4.or35(12);…
Test cases: Test cases Expected Result isDivisibleBy7(17) false OK isDivisibleBy7(77) true OK isDivisibleBy7(12) false OK Java solution: public class Program3 { public static void main(String[] args) { Program3.isDivisibleBy7(17); Program3.isDivisibleBy7(77); Program3.isDivisibleBy7(12);…
Test cases: Test cases Expected Result testOddEven(12) even OK testOddEven(3) odd OK testOddEven(-55) odd OK Java solution: package test; public class Program2 { public static void main(String[] args) { Program2.testOddEven(12);…
Test cases: Test cases Expected Result sum(10,12) 22 OK sum(1,2) 3 OK sum(2147483647,1) 2147483648 OK Java solution: public class Sum { public static void main(String[] args) { Sum.sum(10, 12); Sum.sum(1,…
Hey, guys in this, we will learn connecting the spring boot REST API that connects to the MongoDB database and we will perform the basic database operations like Create, Read,…
Hey guys, welcome to the javascript beginner project series. In this post, we will create a javascript project which changes the background color of the webpage on click of the…
Hey guys, in this post, we will be creating an end to end RESTful CRUD API with Node.js, Express, Mongoose, and MongoDB. Yes, we will use Mongoose for communicating with…
Hey guys, in this post, we will be creating an end to end RESTful CRUD API with Node.js, Express, Mongoose, and MongoDB. Yes, we will use Mongoose for communicating with…
Hey guys, in the previous post we discussed about reading the contents of Zip file without unzipping using ZipFile. In this post, we will discuss about reading the contents of…
Hey guys in this post, we will discuss reading the contents of a zip file using ZipFile package in Java. ZipFile is a java.util.zip, it provides some really useful methods…
Hey guys, in the previous post we discussed about updating the document with HTTP PATCH request. In this post, we will discuss about deleting document with HTTP DELETE request. let's…
Hey guys, in our previous post we discussed about retrieving the documents from mongodb using GET request. so in this post we will discuss that updating the document using PATCH…
Hey guys, welcome back to my blog. In my previous post we discussed about saving the document to mongodb database using save() method. But there are 2 more methods available…
Hey in this article, we will discuss how to make HTTP GET requests using NodeJS and Express. In the previous post, we discussed the HTTP POST request, where we saved…
Hey guys, recently I get a chance to explore Nodejs and Express, in my opinion, I think NodeJS and Express is a great option for building restful web services because…