Sunday, April 30, 2023
How to Join Two or More Tables in a SQL query? Left Join Example Leetcode Solution
How to create RESTful Web Services in Java using Spring Boot? Example Tutorial
What is Spring Expression Language (SpEL)? Difference between $ and # in @Value expressions Example
What is SRP or Single Responsibility Principle Example in Java? SOLID Design Pattern Example
[Solved] How to Find maximum Product of a sub-array in Java? Example
Hello guys, if you are asked to find maximum product of a sub-array in Java and you are wondering how to solve this difficult looking coding problem then you have come to the right place. Earlier, I have shared 30 array coding problems, 30 linked list problems, and 10 dynamic programming problems and in this article, we shall be finding the maximum product of a sub-array in java. This problem has a lot to do with arrays. But first, we'll solve the problem then we talk about Array and how it operates. The problem we are to solve here is to find the maximum product of a subarray in Java. We won't just jump to the writing of codes like code monkeys but, it is essential to understand the problem we are solving first, so we can give the best approach in solutions to it. when we say finding the maximum product of a sub-array it means getting the total of a product in an array!
How to check if a given Tree is a Binary Search Tree in Java? Example Tutorial
Radix sort in Java with Example
Top 20 Mockito Interview Questions with Answers for Java Programmers
Saturday, April 29, 2023
What is SAGA Design Pattern in Microservices? With Examples
Top 35 Python Interview Questions with Answers 1 to 3 Years Experienced Programmers
Hello guys, if you are preparing for a Python developer job and looking for some frequently asked Python interview questions then you have come to the right place. Earlier, I have shared the Complete Python Developer RoadMap, best books and best courses to learn Python and in this article, I am going to share 35 Python questions, covering different concepts for Python developer interviews. Sitting in any interviews, especially in tech interviews, is a tough job itself. You can't go in without proper preparation. Even if you have taken or given dozens of interviews, it is always recommended to go through the quick preparation notes or concepts.
Top 20 CSS Interview Questions and Answers for 1 to 2 Years Experienced Web Developers
Top 21 GraphQL Interview Questions and Answers for Beginners and Experienced Developers
Hello guys, if you are preparing for web developer interviews where GraphQL skills are needed and you are looking for frequently asked GraphQL Interview questions then you have come to the right place. Earlier, I have shared both Web development interview questions as well as REST Interview Questions and in this article, I am going to share 20 common GraphQL Questions from Interviews with answers. These questions covers essential GraphQL concepts like difference between REST And GraphQL and pros and cons of using GraphQL to consume APIs. If you have used GraphQL in past then you can easily answer these questions but if you forgot then you can always join of these best GraphQL online courses to learn and revise key GraphQL concepts.
Top 20 Machine Learning Interview Questions and Answers
What is Generator Function in JavaScript? Example Tutorial
Friday, April 28, 2023
Difference between Microservices and Monolithic Architecture
Thursday, April 27, 2023
Why Programmers Should Learn Mathematics Again?
Top 30 Gradle Interview Questions with Answers for Java Developers
Difference between -Xms and -Xmx JVM Parameters forJava Heap Memory
How to declare a method which takes a lambda expression in Java 8? Example Tutorial
3 Maven Eclipse Tips for Java Developers
Wednesday, April 26, 2023
Top 21 Maven Interview Questions with Answers for Java Programmers
Top 5 Cyber Security Certifications to Aim in 2024 - Best of Lot
Maven vs Gradle? Which one Java Developer Should Learn?
how to fix the password issue for Maven in Eclipse? [Solved]
Difference between Inheritance and Polymorphism in Java and OOP - Example
How to use Mockito to Unit test Java Program with JUnit? Example Tutorial
How to check if a String has all unique characters in Java? [Solved]
How to check if Checkbox is checked in JQuery? Example Tutorial
Difference between JPA, Hibernate, and MyBatis in Java
Hello guys are you tired of using plain old SQL to access your database? Are you looking for a better way to manage your database interactions in Java? Well, you're in luck because JPA, Hibernate, and MyBatis are here to save the day! If you're a Java developer, you've likely come across the terms JPA, Hibernate, and MyBatis when working with databases. While they all deal with object-relational mapping (ORM), they have their own distinct approaches and features. Understanding the differences between them can help you make informed decisions when choosing which one to use for your projects.
Monday, April 24, 2023
How to Base 64 Encoding Decoding in Java 8 - Example Tutorial
5 ways to find length of String in Java - Example Tutorial
How to recursively show all files in a directory and sub-directory in Java - Example
Solving ArithmeticException in Java? Integer and Floating point Arithmetic Example
How to use Comparable Interface in Java? compareTo() Example
How to implement Linear Search in Java? Example Tutorial
When to make a method final in Java? Example
Sunday, April 23, 2023
Review - Is Google Digital Marketing & E-commerce Certification worth it?
Spring Hello World Example in Java using Dependency Injection
How to use jQuery Class and Id Selector to find DOM elements? Example
Saturday, April 22, 2023
5 Examples of Text Block and Multiline String in Java - Tutorial
How to use Records in Java? Example Tutorial
How to use Sealed classes and Interface in Java? Example Tutorial
6 Subtle Date and Calendar Details to Learn before using Date in Java - Example Tutorial
How to find number of days between two dates in Java 8 [LocalDate until() & between() Example ]
How to use TreeSet in Java? SortedSet Example Tutorial
Hello friends, we meet again for our journey of learning Java. Today, we are gonna learn something very fruitful and easy. Hope you all are excited and ready. I would recommend you guys to go through the HashSet article which goes over hashing and what sets are actually as this topic has some of its features. So, What's the wait? Let's start! Continuing our example used in HashSet and reusing it here. Suppose you guys are given the task of storing car names (yes, I love cars :p). Now, how would you store it? This question has already been answered by our HashSet article. The new problem here is, we need to store the names in a naturally sorted manner. As we have a set of String, we need to sort them alphabetically. How to do that?
How to Remove a Key, Value, or Entry from HashMap in Java 8 - Example Tutorial
[Solved] How to Reverse an ArrayList in Java using Recursion? Example Tutorial
How to use ConcurrentLinkedDeque in Java? Example Tutorial
How to find the First Key or Value from a Map in Java? HashMap Example Tutorial
Difference between Synchronized and Concurrent Collections in Java? Answer
Though both Synchronized and Concurrent Collection classes provide thread-safety, the differences between them come in performance, scalability, and how they achieve thread-safety. Synchronized collections like synchronized HashMap, Hashtable, HashSet, Vector, and synchronized ArrayList are much slower than their concurrent counterparts like ConcurrentHashMap, CopyOnWriteArrayList, and CopyOnWriteHashSet. The main reason for this slowness is locking; synchronized collections lock the whole collection e.g. whole Map or List while concurrent collection never locks the whole Map or List.
How to convert Milliseconds to Minutes and Seconds in Java? TimeUnit Example Tutorial
Difference between final and effectively final of Java 8? Example Tutorial
How to create Soft and Hard Links in Java? Files + Path + Java NIO Example
How to choose the Right Collection Class in Java? List, Set, Map, and Queue Example
Difference between Filter and Listener in Servlet - Java JEE
Top 15 SQL Server Management Studio (SSMS) Keyboard Shortcuts and Tips
ByteBuffer Read Write Example in Java
Database Per Microservice Pattern in Java - Example Tutorial
Hello guys, in the last article, I share with your 10 essential Microservice design patterns and principles and best Microservices courses for Java developers which many of you appreciated. At the same time, a lot of you asked me to go deep down into each of those patterns and explain them with examples. So I decided to create this new series of Microservice Pattern tutorials where I will explain each of those essential Microservice pattern with example every week. In this article, let's have a look at what is database per microservice. Microservice architecture is a combination of a set of loosely coupled microservices and each service can be developed independently in an agile manner. We can use this pattern and practices when designing microservices. So let's go deep into what is database per microservice is and why we use it in our programming.
10 Reasons to learn MongoDB NoSQL Database in 2024
3 ways to parse JSON String to Object in Java [Jackson, Gson, and json-simple Example]
How to calculate Area and Perimeter of Square in Java Program? Example Tutorial
Hello guys, if you are looking for Java program to calculate area of Square or program to calculate perimeter of square or just learning Java and looking for programming exercises then you have come to the right place. I have share many programming exercises and homework in this blog and today, I am going to share another simple programming assignment for beginners. Yes, we ae going to write a program which will calculate the area and perimeter of a square in Java. If you don't remember, area of a square is nothing but the multiplication of side with itself or square of side, while perimeter of a square is 4 times of its side because in case of square, each side is equal.
Friday, April 21, 2023
Top 5 Websites To Learn TypeScript in 2024
Top 20 Rust Interview Questions and Answers for Developers
Spring Boot + Angular + Java Project Example and Tutorial
Hello Java programmers, if you are looking for a full-stack Java project with Spring Boot and Angular then you have come to the right place. Earlier, I have shared best Spring Boot courses, books as well as Spring boot + Reactjs project and In this tutorial, we are going to discuss how to create your first application using spring boot and angular. So we are using a simple crud application to build the application here. Here we create a School Classroom Dashboard application that can insert, update, delete and search students. The frontend of the application will be handled by angular and the backend of the system is using the spring boot. This is also a great Spring boot project beginners to do learn Spring boot better. So let's have a look into this.
Difference between Proxy and State design Pattern in Java
10 Reasons to learn JavaScript Programming Language in 2024
AES Encryption and Decryption in Java - AES Encoding Decoding Example Tutorial
Thursday, April 20, 2023
How to use Session attributes in Spring MVC? @SessionAttribute and @ModelAttribute Annotation Example Tutorial
How to Fix org.springframework.jdbc.BadSqlGrammarException: Implicit conversion from data type varbinary to date is not allowed
How to use @RequestBody and @ResponseBody Annotations in Spring? Example Tutorial
Hello Java programmers, if you are wondering how and when to use use the @RequestBody and @ResponseBody annotation in Java then you are at the right place. Earlier, I have shared how to create RESTful Web Service using Spring Boot and today I will teach you how and when to use these two crucial annotations @RequestBody and @ResponseBody. While developing client server Java application using Spring Framework you may need to connect the HTTP request and response body with the domain object while working on the REST API. The annotations @RequestBody and @ResponseBody in Spring were used to bind these HTTP requests and responses. In simple words, these are the annotations which converts JSON to your Java object and your data to JSON while sending to client. Let's look at these two Spring annotations in more detail.
Top 5 Common Spring Bean Exception, Error and Solution [BeanDefinitionStoreException, NoSuchBeanDefinitionException, BeanCreationException]
Hello guys, error handling and troubleshooting is an important skill for Java developers. During development you can get variety of exception and sometime they are quite difficult to solve especially if you have no clue what they are and what causing them. Things can be even more difficult if exception is coming from the framework you are using like Spring Framework or Hibernate, that's why its important to know common error and exception for standard framework like Spring. In this article I will explain what BeanDefinitionStoreException, BeanCreationException, NoSuchBeanDefinitionException and BeanDefinitionOverrideException are, what can cause them and how to fix those problems.