website programming

  1. Swati Mishra

    My 2 Cents Function Overloading

    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...
  2. Swati Mishra

    My 2 Cents Scope Resolution Operator

    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...
  3. Swati Mishra

    My 2 Cents What Is Friend Function?

    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...
  4. Swati Mishra

    My 2 Cents Static Functions

    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
  5. Swati Mishra

    My 2 Cents Static Variables

    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...
  6. Swati Mishra

    My 2 Cents What Are Access Specifiers?

    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...
  7. Swati Mishra

    My 2 Cents Arrays In C++

    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...
  8. Swati Mishra

    My 2 Cents Compiling Linking And Executing The Program

    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...
  9. Swati Mishra

    My 2 Cents The Main () Function

    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 () { … }
  10. Swati Mishra

    My 2 Cents What Is The Header File In C++

    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...
  11. Swati Mishra

    My 2 Cents What Are The Build In Datatypes In C++?

    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.
  12. Swati Mishra

    My 2 Cents What Is Variables In Program?

    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...
  13. Swati Mishra

    My 2 Cents Define Member Function

    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...
  14. krishatg

    My 2 Cents What Is The Difference Between Get() Method And Post() Method?

    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...
  15. krishatg

    My 2 Cents What Standard Needs To Be Followed For Designing Java Bean Classs?

    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/...
  16. krishatg

    Help Me/Question What Is The Difference Between Servlet Config Interface And Servlet Comtext Interface?

    Servlet config interface and Servlet context interface provides environment support to the web application. Servlet Config Interface: It allows servlet to obtain Servlet specific configration information.For example initialization of paramaters. Servlet Context Interface: It allows application...

    My 2 Cents Application Of Depth First Traversal.

    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...
  18. PrashantD

    My 2 Cents Handy And Timesaving Dreamweaver Tips For Web Designers

    There is no denying the reality that Adobe’s Dreamweaver is a powerhouse web development app. It is one of the contenders that have covered more than a decade long legacy in the industry. The tool has been used by several thousands of developers to build feature rich, interactive and diverse...
  19. Pooja Sharma

    Tutorial What Is Overloading

    Overloading is a procedure which represents to defining it in multiple version, using the same name but with different parameter lists. The purpose of overloading is to define several closely related versions of a procedure without having to differentiate them by name. We can do this by varying...
  20. Prasoon Arora

    Tutorial Constant Arguments In C

    The arguments that can not be modified in C programming are termed as Constant arguments. When the constant arguments are passed to the function, the respective values can not be modified. Lets take as example for the function of multiple : mult (3,5) The function can not modify its...