Optimistic Locking: Optimistic locking ensure the locks are held between selecting, updating, or deleting rows. This process needs a ...
Read More
LRU Cache for Page replacement policy
What is the purpose? When accessing large amounts of data is deemed too slow, a common speed up technique is to keep a small amount of...
Read More
Find the nearest Square of a number
package com.kartik; import java.util.Scanner; public class SquareRoot { public static double calculateSqrt (int n) { double roo...
Read More
break and continue statements
How do I use the break and continue statements? Description: This tutorial describes how to use the Java break and continue statements. W...
Read More
How work Garbage Collection in Java
Introduction As the name suggests, Garbage Collection refers to removing of objects which are no longer in use. It is a well known fact ...
Read More
Subscribe to:
Posts (Atom)