In this article on Introduction to Android App Development, I will discuss briefly about Android App Development and its origin. Actually, Android App Development started in the year 2007. Brief Introduction to Android App Development Basically, Android app development is the process of creating software applications that run on the Android operating system. So, it …
How to Use String Arrays in Java – Concept, and Examples
String Arrays in Java help us solve many programming problems that involve the use of a contiguous data structure such as arrays. A string array is nothing but an array containing strings as its elements. Basically, strings are objects in java and the string array is the array of immutable string objects. In order to …
Type Casting and Type Conversion in Java
Type Casting and Type Conversion in Java convert a variable of a specific type to another type. However, there is a difference between typecasting and type conversion. Type conversion always occurs automatically. The compiler performs it. As can be seen in the following example, type conversion may be successful or may not be. Examples of …
Anonymous Classes in PHP
The following article describes Anonymous Classes in PHP. Basically, an anonymous class in PHP is a class that doesn’t have a name, and it can be created and instantiated in a single line of code. Anonymous classes are useful when you need to create a one-off instance of a class, for example, to pass to …
Examples of Global Variables in PHP
In this article on Examples of Global Variables in PHP, I will explain how to create and use global variables. Basically, there are 9 superglobals in PHP which remain available throughout the scripts. In other words, these superglobals can be accessed in any part of the script. These superglobals include $GLOBALS, $_SERVER, $_POST, $_GET, $_REQUEST, …
Creating Classes in PHP
This article explains Creating Classes in PHP. Basically, a class is like a template or a blueprint for an object. In other words, a class describes an object. While objects are things that have certain features in terms of attributes and behavior. The class represents the attributes and behavior of objects and the objects are …
Inheritance in PHP
In this article, I will explain the Inheritance in PHP. The objects relate to each other in many ways. For instance, an object may be a special kind of another object. In other words, the object is the special case of some generalized object. For example, a Course object can have attributes like course title, …
Anonymous Functions in PHP
In this article, I will explain how to create Anonymous Functions in PHP. Anonymous functions are those functions that we create without a name. In fact, we can use anonymous functions in a number of places. For instance, suppose we need to pass a function as a parameter to another function. In such a case, …
HTML Form Processing in PHP
In this article on HTML Form Processing in PHP, I will explain how to process the Form data in PHP. Since, the HTML forms serve as means for gathering data from user, form processing is significant in any web application that allows users to interact. The following example explains how to retrieve user input from …
Examples of Built-in Functions of Arrays in PHP
In this article on the Examples of Built-in Functions of Arrays in PHP, I will explain various built-in array functions in PHP using code examples. The Following Section Provides Some Examples of Built-in Functions of Arrays in PHP array_chunk() In order to split an array into chunks of the specified size, we use this function. …