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 successfully completed. HTTP status codes are 3...
Author - Bushan Sirgur
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 by code that is inspecting other code...
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 and we can easily achieve that using Object class methods...
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 post...
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(). In this post...
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 at an example. Assume that we have an array of...
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 the API endpoint: This API will give the list of users in JSON format. Below is the...
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[]...
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...
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...