
Search In
Conditional Statements:
Conditional Statements are those statements which run different block of codes according to the condition or we can say these are those statements which perform different actions.
Following conditional statements are used i
Widget is used to add feature to you sidebar or anywhere we want to.
We can just simply call the widget in footer or anywhere we want to add it.
It is an easy way out to add feature to your page
To add widget
Go to Appearance > Customize in th
Lets see an illustration how we can validate age and email id through javascript
In this example,we are taking inputs from user in age(textbox) and Email (Textbox). By using functions of javascript we can validate both the values.
function Vali
Simple Object Access Protocol is a standard for exchanging information over the client and server.
This is the basic structure of SOAP message exchange
<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.go
// C++ program to output the maximum occurring character in a string
#include<bits/stdc++.h>
#define ASCII_SIZE 256
using namespace std;
char getMaxOccuringChar(char* str)
{
int count[ASCII_SIZE] = {0};//create an array to keep characte
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
I need help please. I create html file with 2 tabs. The first tab contains form that takes user input and submit it to php file. I want the result of the php file to be displayed in the second tab.
HTML file:
<ul class="nav">
<
Command Line Arguments:
Command Line Arguments are those arguments which are passed during executing a program through console.
Arguments passed from console can be used in a java program and can be taken as an input.
Example:
publi
I was integrating solr with java using maven dependencies
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-solrj</artifactId>
<version>5.5.0</version>
</depen
Inserting data to a database would be possible by using SQL statements, specifically the INSERT command. Data can be entered into the database using insert query into the function, here is simple line of code that will create a database using i
