Core java
16 FebruaryJava Multithreading and Concurrency Interview Questions
In this tutorial, we are going to see Multithreading interview questions with answers. Here is list of Java Multithreading interview questions. [toc] Java multithreading interview questions 1. What is thread in java? Answer: Thread can be called as light weight process. It can be referred as smallest part of process which can be executed concurrently […]
15 FebruaryDifference between notify and notifyAll in java
In this post, we are going to see difference between notify and notifyall in java. notify(): When you call notify method on the object, it wakes one of thread waiting for that object. So if multiple threads are waiting for an object, it will wake of one of them. Now you must be wondering which […]
15 FebruaryDifference between process and thread in java
In this tutorial, we are going to see differences between process and thread in java. If you are working on multithreading in java, it is good to know differences between process and thread. How multithreading can improve performance by executing code in parallel. Process vs Thread: The process can be referred as program in execution […]
15 FebruaryDifference between throw and throws in java
In this tutorial, we are going to see difference between throw and throws in java. throw: throw keyword is used to throw any custom exception or predefine exception. For example: Let’s say you want to throw invalidAgeException when employee age is less than 18. Create a Employee class as below. package org.arpit.java2blog; public class Employee […]
14 FebruaryJava Serialization interview questions and answers
Serialization is one of most important concept in java. If you are going to face core java interview, then you might be asked some questions from Serialization. Java Serialization Tutorial: Serialization in java Java Serialization interview questions and answers serialversionuid in java serialization externalizable in java Transient keyword in java Difference between Serializable and Externalizable […]
14 FebruaryDifference between Serializable and Externalizable in Java
In this tutorial, we are going to see differences between Serializable and Externalizable interface in Java. Java Serialization Tutorial: Serialization in java Java Serialization interview questions and answers serialversionuid in java serialization externalizable in java Transient keyword in java Difference between Serializable and Externalizable in Java Before understanding difference, let me provide a short note on Serializable […]
21 JanuaryEnergycasino ingyenes pörgetések: teljes útmutató és bónuszmatematika
Bármilyen online kaszinóba történő befizetés előtt szánj öt percet ennek az ellenőrzőlistának az elolvasására – lefedi azokat a lépéseket, amelyeket a legtöbb játékos kihagy. Felkészülés Győződj meg róla, hogy rendelkezel érvényes, a KYC ellenőrzéshez szükséges dokumentumokkal (személyi igazolvány, lakcímkártya, fizetési mód igazolása). Válassz egy erős, egyedi jelszót – lehetőleg jelszókezelővel generálva. Nézd meg a bónusz […]
20 JanuaryHow to check if number is power of two
In this tutorial, we will see how to check if number is power of two. There are many approaches to check if number is power of two or not. Approach 1: It is very easy and straight forward approach. Run a while loop which checks for condition if n is even number (n%2==0). If n is […]
16 JanuaryBC.Game casino: steg-for-steg guide for norske spillere
Før du setter inn penger på et online casino, ta fem minutter til å lese denne sjekklisten – den dekker stegene de fleste spillere hopper over. Denne guiden går gjennom alt fra forberedelser til uttak, med praktiske eksempler og beregninger. Getting Ready Sjekk at casinoet har gyldig lisens. BC Game casino er lisensiert fra Curacao, […]