
Search In
1) Final:
Final is a keyword. It is used to store constant values in variable. The value can't be changed later on.
The class which is declared as final cannot be inherited.
The method which is declared as final cannot be overridden.
Example:
c
Suppose we want to find the average salary of three employee(A,B,C) without disclosing there individual salary.In order to do this see the following algorithm:
ALGORITHM :
First A will add a random number to it's salary and then tell the tota
For cropping image using Qimage component in cakephp first we have to download Qimage plugin after downloading Qimage plugin we have to put it into App/Controller/Component .
Then we have to do all this in our controller.
While testing an application many times we get some testcases where we have to check the value of CSS attributes. Suppose we have the following cucumber step:
Then(/^The month section should have a grey background$/) do
@page = @page.
Hello readers in this blog we will discuss about the conversion of a decimal into a hexadecimal value. In this case if we have a decimal value. we have to find its hexadecimal equivalent, we use the Number object’s toString method :-
Syntax:-
In rails, sometimes we don't notice it but there is difference when you use puts to print an object and when you use just p to print an object. One thing let me clear for you, p is not a short form of puts, they both are different. 
1) ==
It is a simple equality operator, that only checks if the value of the left operand is equal to the right operand or not, so returns true or false respectively
<pre>
> x = 5
> y = 5
> x == y
=> true
> y = 6
> x == y
In Laravel 4.x we can easily use where condition with OR AND OR .Below is the example of this
Example:
User::where(function ($query) {
$query->where('a', '=', 1)
->orWhere('b', '=', 1);
})->where(function ($query) {
$que
MathMl is a easy way to insert math symbols, expressions and formulas into your web page. The supported browser can convert them to numeric values and symbols. To start writing the math code you have to use <math></math> tag for create th
Some time in Laravel 4.x we will get the error "Failed to open stream: Permission denied" error .When we have no permission then this type of error will occur. So to overcome this problem by using php artisan
are:
Step:
php artisan cache:clear
c
