Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Difference between Singleton and Prototype bean

Singleton Bean Scope The singleton bean is termed as a stateless bean i.e. it doesn't carry any state with it. Only one instance of the object is created which is defined by this type of bean. One instance is created per container.All the other b

Objects in javascripts

Lets understand "Objects" in javascript. Object: It is a collection of property and each property is associated with name value pair. The object can contain any data type. Lets understand this with the help of an example: var demoObj = {demoId = "

Error:Execution failed for task ':iTSM:transformClassesWithDexForDebug'

Please help me to resolve below error Getting Below error in Android studio after update the Compile and Build Tool version Please find the attached bild.gardle file early compileSdkVersion 21 buildToolsVersion "22.0.1" and aslo added be

Checked and Unchecked Exceptions

Checked Exceptions: Checked Exceptions are those exceptions which are checked during compile time. If a program contains checked exception then it should be handled using try-catch block or by using throws keyword, otherwise there will be a compile-

Difference between two elements so that larger element appears after the smaller number in C?

#include<stdio.h> int maxDiff(int a[], int size) { int max_diff = a[1] - a[0]; int i, j; for(i = 0; i < size; i++) { for(j = i+1; j < size; j++) { if(a[j] - a[i] > max_diff) max_diff =

Efficient method to find maximum difference between two elements in C?

#include<stdio.h> int maxDiff(int a[], int n) { int maxDiff = -1; // Initialize Result int maxRight = a[n-1]; // Initialize max element from right side for (int i = n-2; i >= 0; i--) { if (a[i] > maxRight)

Difference between $(this) and 'this' in jQuery?

Example of $(this) in jQuery:  $(document).ready(function(){ $('#div1').mouseover(function(){ alert($(this).text()); }); });   Example of this in jQuery:  $(document).ready(function(){ $('#div1').mouseover(f

Simple code of php for making tree using asterisk

Simple code of php for making tree using asterisk It is easy to make tree using php in less no. of line of code. Here are few line of code that will help you to get desired output by using for loop with three variable i,j and k or this can be explai

Delete a row from a table in parse.com

  Hello, It is very simple to delete an item or row from any parse table from the code. First, we need to create the object of the table that points that particular row and then delete it. I create an object using object id and then execute

Java heap size on Solr

I was working on a huge data, around 10gb, which I needed to import on solr. So I split the data in 1gb files, then I imported the data in solr using the post method. I ended up getting error: SEVERE: java.lang.OutOfMemoryError: Java heap space. S

1 293 949
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: