web development

These are the various common differences between static and the dynamic polymorphism.
Static polymorphism is the more efficient whereas the Dynamic polymorphism is more flexible.
Statically bound methods are methods that are bound to their calls at the compile time. Whereas Dynamic function...

A function with no body is called the pure virtual function. The virtual function of base class is not used. If we take the example of employee class the calc_net_salary () is never invoked. Because employee belongs to two category (confirmed /trainee), and the net salary is depends on it then...

Function overloading is the process of using the same name for two or more functions. Each redefinition of a function must use the different type of parameters, sequence of parameters, or number of parameters. The number, type or sequence of parameters for a function is called the function...

We have defined the member functions and the constructors of program with in the class. These functions can also be defined outside the boundary of class by using the scope resolution operator (::) to make the program more readable.
Syntax
Void calculator:: input ()
In the above statement...

If a member of class is private or protected, functions cannot access the non-public means private or protected members of class. So sometimes it becomes problem for the programmer. In order to access the non-public member of a class, for solving this problem C++ provide the Friend keyword...

Static functions can only access static variables and, it is not access the non static variable. We use the static class name to access the static function.
Syntax
ClassName:: StaticFunctionName;
Example

We know that each object has its own set of member variables. In some situations, it is preferable to have one or more variables that are common for all objects. So, the static variable provide buy C++ for this.
Static variables retain their value even after the function to which it belongs has...

An access specifiers is used to determine whether any other class or function can access the member variable and the, member functions of the particular class.
Access specifiers define the boundary between the accessible and the inaccessible parts of the class.
These are the three access...

An array is the collection of elements of single data type that is stored in adjacent memory locations. If we take the example for the array then it is defining 20 integer variables for storing the score of 20 students in class, one integer array can be defined containing the 20 elements to...

The compiler is software that translates the program written in a language like the C++ into the machine language. After compiling the object code is linked with libraries. Libraries are the collection of executable pieces of code that we can reuse in the program. After that this step, a file...

The execution of program always start from the main () function. When the main () function complete execution, it needs to notify the operating system about its completion. That’s why we use the last statement in main () is return 0;
Syntax
Void main ()
{
…
}

The first statement we use in the program that is the iostream header file. This is called Preprocessor directive. Preprocessor directives are the statements that are the processed before the program is compiled. Which software handles the preprocessor directives called the preprocessor.
The...

Build in datatypes are the data types at the lowest level that is used for actual data representation in the memory.
These are the various built in data types
Char- this is used for character
Int- this is used for the integer
Float- this is used for the decimal value.

A variable is a location in memory. A variable has a name and it may contain a value. The value could be an integer value like 32, a decimal value like 8.24, or a character value like ‘G’. A variable name can have any number of characters. A variable name should be unique.
Example
These are...

A function is set of statements that perform a specific task in response to a massage. The functions of an object are called the member function. We are declared the member function inside the class body. The function declaration introduces the function in the class and the function definition...

Get() method and post() methods are used to retrieve query string that is specified in the url after ?.
Get() method displays the query string in URL whereas post() method does not display the query string in URL.
In get() only 256 characters are allowed to be send whereas in post() there is...

JavaBean is nothing but the object of the classes but there are certain standards that need to followed for designing a class of such objects as:
All properties i.e data members should be private.
Non-parameterized constructor is mandatory.
Put class in package(not in default package)
Getter/...

These are the following application of depth first traversal -
1.We can check given graph is connected or not.
2.We can find out number of connected component.
3.We can check given graph is connected or not.
4.We can check given directed graph is strongly connected or not .
5.We can verify a...