B2 Tech

Web Dev Snippets

  • Facebook
  • Twitter
  • Google Plus
  • Home
  • Java
    • Core Java
    • Core Java Programs
    • Java Swings
    • JavaFX
  • Web Technologies
    • Angular 10
    • Angular 2
    • Angular 9
    • Boostrap 4
    • CSS
    • Express.js
    • High Charts
    • HTML
    • Javascript
    • Javascript Programs
    • jQuery
    • Mongoose
    • Nodejs
    • Typescript
  • Full Stack Applications
    • CRUD Applications
  • Advance Java/J2EE
    • JSP
    • Servlets
    • JSF
    • Thymeleaf
    • Spring MVC
    • Spring Boot
    • Spring Security
    • JPA
    • Hibernate
    • Struts
    • MyBatis/iBatis
  • Interview Programs
  • Web Services
    • REST Services
    • SOAP Services
  • About
  • Contact

Author - Bushan Sirgur

  • REST Services
  • SOAP Services

HTTP Status codes with examples

17 hours ago
by Bushan Sirgur
6 min read
Add Comment

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...

Continue reading

  • Spring Boot
  • Spring MVC

Annotations used in Spring MVC [2021]

2 days ago
by Bushan Sirgur
4 min read
Add Comment

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...

Continue reading

  • Javascript

Convert javascript object to an Array

2 days ago
by Bushan Sirgur
2 min read
Add Comment

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...

Continue reading

  • Core Java

Java 8 Stream API sorted() Example

3 days ago
by Bushan Sirgur
4 min read
Add Comment

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...

Continue reading

  • Core Java

Java 8 Stream API filter() example

4 days ago
by Bushan Sirgur
3 min read
Add Comment

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...

Continue reading

  • Angular 10

Angular 10 Structural directive example

1 week ago
by Bushan Sirgur
3 min read
Add Comment

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...

Continue reading

  • Angular 10
  • REST Services

Angular 10 HTTP GET Request Example

1 week ago
by Bushan Sirgur
4 min read
Add Comment

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...

Continue reading

  • Core Java Programs
  • Interview Programs
  • Javascript Programs

Given a string, return a new string where the first and last chars have been exchanged

2 weeks ago
by Bushan Sirgur
1 min read
1 Comment

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[]...

Continue reading

  • Core Java Programs
  • Interview Programs
  • Javascript Programs

Pass an int array and an int and do a search of the second parameter in the first, and return true/false.

2 weeks ago
by Bushan Sirgur
1 min read
Add Comment

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...

Continue reading

  • Core Java Programs
  • Interview Programs
  • Javascript Programs

Given an array of ‘N’ elements .Return the sum of all array elements

2 weeks ago
by Bushan Sirgur
1 min read
Add Comment

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...

Continue reading

1 2 3 … 10 Next

About Author

Bushan Sirgur

Well, I am Bushan Sirgur from Banglore, India. Currently, I am working as a Software Developer in a Service Base Company. I am interested in JAVA/J2EE, Angular 2, JavaScript, jQuery, MongoDB.

View all posts

Support me


Love my tutorials? Please support me by donating:

Newsletter



Recent Posts

  • HTTP Status codes with examples 2 weeks ago
  • Annotations used in Spring MVC [2021] 2 weeks ago
  • Convert javascript object to an Array 2 weeks ago
  • Java 8 Stream API sorted() Example 2 weeks ago
  • Java 8 Stream API filter() example 2 weeks ago
  • Angular 10 Structural directive example 2 weeks ago
  • Angular 10 HTTP GET Request Example 2 weeks ago
  • Given a string, return a new string where the first and last chars have been exchanged 2 weeks ago
  • Pass an int array and an int and do a search of the second parameter in the first, and return true/false. 2 weeks ago
  • Given an array of ‘N’ elements .Return the sum of all array elements 2 weeks ago

Featured Posts

  • HTTP Status codes with examples
  • Annotations used in Spring MVC [2021]
  • Convert javascript object to an Array
  • Java 8 Stream API sorted() Example
  • Java 8 Stream API filter() example

Most Viewed Posts

  • Angular 2 and Spring REST Simple CRUD Application (15,655)
  • Login Form in JavaFX with MySQL Database (15,044)
  • A Complete CRUD Application with Spring MVC and MyBatis/iBatis (13,159)
  • Calculate AGE based on Date of birth using jQuery Calendar (10,463)
  • Complete CRUD Application in Spring MVC and Hibernate [XML Configuration] (10,306)

Categories

  • Angular 10 (2)
  • Angular 2 (2)
  • Angular 9 (7)
  • Boostrap 4 (9)
  • Core Java (5)
  • Core Java Programs (23)
  • CRUD Applications (29)
  • CSS (12)
  • Express.js (7)
  • Hibernate (8)
  • High Charts (3)
  • HTML (12)
  • Interview Programs (23)
  • Java Swings (2)
  • JavaFX (2)
  • Javascript (5)
  • Javascript Programs (10)
  • JPA (16)
  • jQuery (7)
  • JSP (16)
  • Mongoose (7)
  • MyBatis/iBatis (2)
  • Nodejs (7)
  • REST Services (24)
  • Servlets (2)
  • SOAP Services (1)
  • Spring Boot (25)
  • Spring MVC (10)
  • Uncategorized (2)
Copyright © 2021. Created by Bushan Sirgur. Powered by B2 Tech.
  • Facebook
  • Linkedin
  • Instagram
  • Youtube
  • Github
  • Home
  • Java
    • Core Java
    • Core Java Programs
    • Java Swings
    • JavaFX
  • Web Technologies
    • Angular 10
    • Angular 2
    • Angular 9
    • Boostrap 4
    • CSS
    • Express.js
    • High Charts
    • HTML
    • Javascript
    • Javascript Programs
    • jQuery
    • Mongoose
    • Nodejs
    • Typescript
  • Full Stack Applications
    • CRUD Applications
  • Advance Java/J2EE
    • JSP
    • Servlets
    • JSF
    • Thymeleaf
    • Spring MVC
    • Spring Boot
    • Spring Security
    • JPA
    • Hibernate
    • Struts
    • MyBatis/iBatis
  • Interview Programs
  • Web Services
    • REST Services
    • SOAP Services
  • About
  • Contact
  • Facebook
  • Twitter
  • Google Plus