Core java
15 JulyFind all Permutations of a String in java
In this post, we will see how to find all permutations of String in java. We will use a very simple approach to do it. Take out first character of String and insert into different places of permutations of remaining String recursively. Lets say you have String as ABC. So we take out A from […]
14 JulyHow to use connection pool using service locator design Pattern in java
In this post, you will learn about the Connection Pool. This post is intended by java application development experts for entire development community to let people learn and acknowledge about Connection Pool and how to use its object using Service Locator design pattern. Introduction Connection pool is a mechanism which applicable for all technologies in […]
14 JulyDifference between checked and unchecked exception in java
In this post, we will see difference between checked and unchecked exception in java. It is important question regarding exceptional handling. What is Exception? Exception is unwanted situation or condition while execution of the program. If you do not handle exception correctly, it may cause program to terminate abnormally. What is checked exception? Checked exceptions […]
13 JulyDifference between StringBuffer and StringBuilder in java
In this post, we will see difference between StringBuffer and StringBuilder in java StringBuffer vs StringBuilder Parameter StringBuffer StringBuilder Thread-safe StringBuffer is thread safe. Two threads can not call methods of StringBuffer simultaneously. StringBuilder is not thread safe, so two threads can call methods of StringBuilder simultaneously. Performance It is less performance efficient as it […]
11 JulyDifference between CountDownLatch and CyclicBarrier in java
In this post, we will see difference between CountDownLatch and CyclicBarrier in java. Lets first see similarities among them. Both wait for specific number of threads or tasks to finish. Lets see differences between CountDownLatch and CyclicBarrier. CountDownLatch vs CyclicBarrier Parameter CountDownLatch CyclicBarrier Reuse It can not be reused once count reaches 0 It can […]
21 JuneGuide pratique du jeu JetX : Tout ce qu’il faut savoir pour jouer et gagner
La plupart des guides iGaming sont vagues. Celui-ci ne l’est pas — chaque étape ici est spécifique, actionable, et basée sur le fonctionnement réel de la plateforme. Getting Ready Vérifiez votre connexion Internet : une latence supérieure à 50 ms peut affecter le timing de vos paris. Créez un compte sur le casino en ligne […]
20 JuneBet365 app: Kompletný návod na registráciu a výpočet bonusu
Založenie účtu v online kasíne je rýchle, ale vedieť, čo presne očakávať v každom kroku, šetrí čas a frustráciu. Tento sprievodca sa zameriava na bet365 aplikáciu a ukazuje, ako si účet založiť, využiť bet365 bonus a vyhnúť sa častým chybám. Quick Checklist Máte aspoň 18 rokov a platný občiansky preukaz alebo pas na overenie totožnosti. […]
19 JuneCan We Have Try without Catch Block in Java
In Java, it’s possible to use a try block without a catch block, but it must be followed either by a finally block or be part of a try-with-resources statement. Let’s see both cases with the help of examples: 1. try-finally Structure You can use a try block with a finally block. As you may […]
07 JuneDaemon thread in java with example
Daemon threads are low priority background threads which provide services to user threads. It’s life depends on user threads. If no user thread is running then JVM can exit even if daemon threads are running. JVM do not wait for daemon threads to finish. Daemon threads perform background tasks such as garbage collection, finalizer etc. […]