
Search In
Optimistic locking is used to restrict updation of a record by multiple user at the same time . For example we have two user u1 and u2 and both of them is trying to edit the same record from a model City . While u1 is editing the record u2 comes
variables are good and sufficient to hold the single values, But what if we want to store multiple values in a single variable in that case you have to use arrays or objects
Values in arrays are saved index base. Remember that arrays in JavaScri
FORMAT(X,D[,locale])
In mysql FORMAT function is used for formats a number X to a format like '#,###,###.##' and rounded to decimal places, and it returns the result as a string. If D is 0, the result has no decimal point.
The third optional paramet
Program for Bubble Sort elements in Ascending Order
Definition:- In Bubble sort each element compares with the other elements until finds its correct order place. This is repeated until all elements are in the order.
//Header Files
#include&l
array_reverse() function reset the order of elements in an array in reverse order. The function takes an array as argument and return an array containing all values in reverse order. The function also reset the index of elements. To keep the indexes
Both first & take are applied on the ruby objects, they return the requested number of elements from the Array. There are some differences between them, and i have explained the major ones over here.
1) The method take always accepts an argument
Right Join:
Right Join is used to join two tables and it return all rows from right table(table 2) and matching rows from table 1(left table). The result is NULL for unmatched rows for table 1(left table). Right Join keyword is used to apply Right J
Pascal's Triangle:
Program to print Pascal's triangle:
import java.io.*;
public class Pascal{
public static void main(String []args)throws IOException{
InputStreamReader isr=new InputStreamReader(System.in);
Hello reader's, In this blog I have created an image caption over the image using CSS3 transition properties over the image when hover.
As CSS3 we all know helps in creating an effective animated website using various transition properties ,so b
Hello Readers , this is a small blog on how to make two columns of equal height regardless of content inside the columns. First, we will write the HTML to make two columns lying side by side having same width. The following code is written to make tw
