
Search In
Stack is used to store particular type of data. Stack is a memory area where we can store all local variables and parameters used in our functions.
In Stack we can perform three operations that are :
Push - to add something in stack with complexity
While working with WCF Windows Communication Foundation you need to know what kind of operation you are going to perform
For doing that you will create a operation that could be of type GET or POST
While using the WebInvoke you need t
A filter is used to format data to be displayed to the user. These can be used in controllers,templates or services and we can also easily define our own filters. Some of the built-in filters in AngularJS are :-
1.uppercase - formats or converts text
Wrapper Class:
In Java there are 8 primitive data types and to convert them into object we use wrapper classes. We use boxing and autoboxing to convert primitive into object and object into primitive.
Primitive type and their correspnding wrapper c
Polymorphism in php
Implementing the polymorphism principle can be done in either of two ways, i.e., either choosing abstract classes or interfaces.
/* Program to demonstrate a polymorphism principle in php */
<?php
class A
{
f
A storage class defines the scope (visibility) and the life time of the variable in the program or in the class.
There are following storage classes:
auto
register
static
extern
The auto Storage Class
It is the defau
To create slider with angular UI, carousel is used as it is same as bootstrap's image carousel. But It also supports swiping in the touch devices. ngTouch is used to enable the swiping in the touch devices. We have to load ngTouch module as a dep
Hello Friends,
Some time we need some functionality before execution of our controller function or after execution of controller. For example you need to check a user is login or not before execution of any controller. Codeigniter hook is a very goo
To get only year from a date you can use the below code. You can pass any date that you wan to change, I'm getting year from the date in the below example:
/**
* Get year from Date
*
* @param createDate
* @return
*/
In the below example I have created a Selected Item from spinner in android. Here I have added first aTextView and Spinner in activity_main.xml layout, after then you can see in MainActivity I have used String class and created a ArrayAdapter. I have
