• 26 December

    Spring boot H2 Database example

    In this post, we are going to see how to create Spring boot application integrating with H2 database. What is H2 database? H2 is open source database. It is very fast and smaller in size. It is in-memory database and keeps all data in memory. If you start and stop the application, all the data […]

  • 24 December

    TypeError: ‘list’ object is not callable

    In this post, we will see how to resolve TypeError: ‘list’ object is not callable in python. Let’s first understand why we get this error. In python, a built-in name is a name in which the python interpreter assigns predefined value. The value can be objects, functions or classes. All these built-in names will be […]

  • 22 December

    Python list of lists

    In this post, we will see how to create a list of lists in python. It is quite easy to create list of lists in Python. You just need to use list’s append method to create list of lists. Here is simple example to create list of lists in Python. [crayon-6788e505983b9860164722/] Output: List of Lists: […]

  • 22 December

    Spring Boot CrudRepository

    In this post, we’ll be looking up how to create and use Spring Boot CrudRepository. SpringBoot CrudRepository provides sophisticated CRUD functionality for the type of entity you want to be managed.This interface acts primarily as a marker interface to capture the types to work with and to help you to discover interfaces that extend this […]

  • 22 December

    Caesar Cipher in Java

    In this post, we will see about Caesar Cipher in Java. In cryptography, we used to study different algorithms or techniques to encrypt and decrypt a different sets of messages to gain confidentiality, integrity or say some kind of security. Usually, these things are achieved by implementing such kind of techniques, sometimes clubbed with other […]

  • 22 December

    java.util.NoSuchElementException

    java.util.NoSuchElementException is a RuntimeException or say an UncheckedException and therefore it does not need to be declared in a constructor’s or a method’s throw block. java.util.NoSuchElementException is usually thrown when we try to access some element which is not present or reserved for the underlying data structure in the heap, and, thrown by the different […]

  • 22 December

    Java BigDecimal to BigInteger

    In this post, we will see how to convert

  • 21 December

    Python create empty set

    In this post, we will see how to create an set in python. Set is collection which contains unique elements.You can simply use set() function to create empty set in Python. Let’s see this with the help of example. [crayon-6788e50598a42286604803/] Output: empty set s: set() set s: {1, 2, 3} That’s all about Python create […]

  • 21 December

    How to Take Integer Input in Python

    1. Introduction to the Problem Statement In Python programming, a common requirement is to obtain user input. Specifically, we often need to receive numerical input, particularly integers, for various calculations or data processing tasks. The challenge lies not just in capturing the input but also in ensuring that the input is valid and in the […]