
Search In
Suppose that you have to implement a class named Dragonball. This class must have an attribute named ballCount (which starts from 0) and 2 methods iFoundaBall and iLostball. When iFoundaBall is called, ballCount is increased by one. When ilostball is
In Javascript it is possible to pass a function as an argument to another function just like we pass a normal variable to a function.
Suppose i have a requirement that i want to call 2 functions one after the other and the second function has to be
Rack is a middleware, it provides an interface for a web server to interact with a web application. To understand how rack is used to interact with web server and rack(rails) application, lets first understand the request-response cycle. Client reque
Hi friends,
For Implicit intent, we don’t need to declare the name of the class but we declare the action that we are doing to perform.
Like here we make a call
Uri callUri = Uri.parse("tel:100");
Intent intent = new Intent(Intent.ACTION_DIAL, c
Hello readers, today we discuss about "How to call Ajax in wp-oauth Plugin".
"wp_ajax_your_function_name" its a pre define method for loged in users.
You can put the below code into plugin.php file. "getMinorCatList" is a function where ajax can hi
why use current() function:
current() returns the value of the current element in an array:
Syntax of current() function:
current(array)
why use end() function:
end() returns the value of the last element in an array:
Syntax of end() function
Hello Guys
In this blog, I have declared HomeViewController class and explained how to implement methods in class.
HOMEVIEWCONROLLER.H
#import <UIKit/UIKit.h>
@interface HomeViewController : UIViewController
// With the help of interface you
Variable names starting with _ are instance variables of that class. self.variable is calling a getter/setter method on your object.
The class must be key-value coding compliant for the property, as specified in Ensuring KVC Compliance.
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
Passing argument to a function by reference is also know as call by reference. In this method if we change the parameter given in the function will effect the argument. For passing a value by reference, we use pointers. As we use pointers in call b
