
Search In
Hi Guys,
Here i am posting that how you can use image with color in background.
<div>
block {
background: #1e7f00 url("http://api.ning.com/files/rBZCY6X2uOlTJ8P9qLiTaHrX71x-bhRd9qAkTQBwNkSJPHtbC0Md09jy7l2JFbAGIWeexn8YrPUqqxKklZ5yJFL1uCaRv
To check if the class method exists or not we use a function method_exists() in PHP. It check that the class method exist in the given object.
Syntax:
method_exists($object,$method);
As you have seen the syntax of method_exists() above, it includ
The AdRotator control will show the images and banner in a random fashion.It will load all the images and banners from an XML file
The AdRotator control allows you to specify the advertisement file and the type of window that the link should follo
Finding largest number in an array:
To find largest number in an array first user will enter the length for the array and then the user will input the elements for the array. There is a max variable taken in the program which is assigned 0th index
Program to find power of a number:
In this program we are finding power of any number which will entered by the user and user will also enter a power. There is a function power which will return power of the number after calculating and Power funct
Try to understand it with an Example:consider the image below.
Here the problem is that whenever I'll click on Login button, only textboxes of the Login section(UserName and Password) needs to be validated. And whenever I'll click on the "Register
Relation between generic type parameter and generic type definition is known as variance.
Covariance and contravariance are extensions for generic type parameters for arrays, delegates and interfaces.
1.COVARIANCE- In Covariance 'out'
#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 =
#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)
To create ListView in your android app follow the steps mentioned below:-
1) Define ListView in your xml file where you wish to show list view.
activity_main.xml
<LinearLayout
xmlns:tools="http://schemas.android.com/tools"
