
Search In
Why use array_flip() function in php.?
The array_flip() function mainly used for exchanging all keys with their associated values in an array.
Syntax of array_flip() function:
array_flip(array)
You can take reference form below example to use of
Thread:
A thread is a light-weight process which can run independently. A java program can contain multiple threads. Every thread is created and controlled by the java.lang.Thread class. We can create threads in two ways:
By extending Threa
Named parameters:-
The concept of named parameters was introduced in C#4.0 and main purpose was to pass the parameter by name not the position. This features provide us the liberty to pass the parameter a
1. In admin panel click on Catalog->Manage Products.
2. Click on Add Product button.
3. Select Attribute Set and Product Type.(Default & Simple Product)
4. In General tab fill the mendatory details like Name, Description, Short Description,
ButterKnife is library to initialize the views with Annotations.
With the help of Butterknife you have no need to initialize view with findViewBtId().
here we start.
1. Create Project.
2. Open module level build.gradle file.
3. Add below dependen
Passing argument to a function by value is also know as call by value. This method of passing arguments to a function copies the original value of argument into the formal parameter of a function. In other words if we change parameter which are give
Hello all !!
Explanation of the topic is :--
Whenever we have to move from one controller to another we usually do it by performing Segue between the two view controllers in the MainStoryboard..
The segue requires an identifier and from where we hav
How to swap or exchange objects in Java?
Wrapper Class can be used to swap or exchange objects in Java.
A Java program using wrapper classes to swap objects.
class Employee
{
int empno, salary;
Car(int empno, int salary) //Parameterized
Hi Everybody!!
I am working on library management system project. Below is my LibraryCollection class. I would like to call my checkOutMaterial() method in the main class.
I need help on how to call the method. Any help would be a
Definition of substr() function in php ?
The mainly use of The substr() function returns a component of a string.
Syntax of substr() function
substr(string,start,length)
You can see below example the use of substr() function.
<?php
//here
