Core java
23 AugustJava Interview Programs
I have been posting java interview programs on various topics such as Binary tree, LinkedList , String, Number, ArrayList, HashMap etc. So I am consolidating list of java interview programs to create an index post. I will keep adding links to this post whenever I add any new program. These are frequently asked java programs […]
21 AugustBonus, sicurezza e metodi di pagamento: guida pratica completa
Questa guida pratica a Plexbet casinò online si concentra su ciò che conta davvero: bonus, accesso mobile e pagamenti puntuali. Seguendo questi passaggi potrai ottimizzare l’esperienza di gioco senza sorprese. Before You Start Verifica che la tua connessione internet sia stabile per evitare interruzioni durante il gioco. Assicurati di avere un documento d’identità valido per […]
19 AugustJava Timer example
Timer is an utility class which can be used to schedule tasks on specific time or repeatedly. Lets say, you are developing an banking application and there is need to process the data at 7 PM evening daily. You can easily schedule task using Timer class. For creating a task, you need to extends TimerTask […]
18 AugustStake bonus: Praktický průvodce registrací a platbami
Toto je praktický návod krok za krokem: registrace, ověření, bonusy a platby – žádné zbytečnosti. Než začnete Připravte si platný e‑mail a telefonní číslo. Mějte po ruce doklad totožnosti (občanský průkaz nebo pas) pro ověření. Rozhodněte se o způsobu platby – karta, e‑peněženka nebo kryptoměna. Zkontrolujte, zda je online hazard ve vaší zemi legální a […]
08 AugustCountDownLatch in java
As per java docs, CountDownLatch is synchronisation aid that allows one or more threads to wait until set of operations being performed in other threads completes.
08 AugustFibonacci series program in java
If you want to practice data structure and algorithm programs, you can go through 100+ java coding interview questions. Fibonacci series is numerical series in which next number is sum of previous two numbers. For example : 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55 etc. There are two ways to print Fibonacci […]
06 AugustHow to remove duplicates from ArrayList in java
In this post, we will see how to remove duplicate elements from ArrayList in java. There are many ways to do it. Some of them are: Using iterative approach Using HashSet (but does not maintain insertion order) Using LinkedHashMap Program: [crayon-6a281ef034618689920742/] When you run above program, you will get following output: [crayon-6a281ef03461f597453936/] Please go through java […]
06 AugustFind first non repeated character in a String
One of the interview question is “How will you find first non repeating character in String.” For example: If input string is “analogy”, then program should return ‘n’ If input string is “easiest”, then program should return ‘a’ First approach: We will use [LinkedHashMap](https://java2blog.com/linkedhashmap-in-java-with-example/ “LinkedHashMap”) to find first non repeating character in String. Algorithm: Get […]
03 AugustFind all substrings of a String in java
In this post, we will see java program to find all substrings of a String. For example: If input is “abb” then output should be “a”, “b”,”b”, “ab”, “bb”, “abb” We will use String class’s subString method to find all subString Program: [crayon-6a281ef034fd1245768472/] When you run above program, you will get following output: [crayon-6a281ef034fd7879559525/] Above […]