Command Line Arguments:
Command Line Arguments are those arguments which are passed during executing a program through console.
Arguments passed from console can be used in a java program and can be taken as an input.
Example...
Welcome to Xcode tutorial series.
This is an XCode tutorial for beginners and introduce you to the main parts of the development environment of Xcode. There are 4 major areas: the Navigator, Editor, Debug Area and Utility Area.
The Navigator ...
The significance of the Finalize method in .NET
In .NET the clean activity for objects i.e when they are no longer required is done by Garbage Collector. But unmanaged resources (for example: Windows API created objects, File, Database c...
Hi All,
Regular expression is used to validate input. Python have a library which have many methods to use regular expression.
Regular Expression :- A regular expression (or RE) specifies a set of strings that matches it.
The functions i...
Building a team of motivated people in your business is key to get the absolute best results, yet such a large number of managers focus on the 'ra-ra-ra', instead of the important things – the things that make people feel great in t...
To create ListView in your android app follow the steps mentioned below:-
1) Define ListView in your xml file where you wish to show list view.
activity_main.xml
<LinearLayout
xmlns:tools="http://schemas.and...
Expressions in AngularJS is represented using double curly braces-{{ }}. Expressions are used to bind the data to the HTML in the same way as the ng-bind directive of angular.
Expressions using-
1.numbers:-
syntax- <p>Price...
In the below example I have created a Accelerate image function. Here I have added Button and ImageView in activity_main.xml layout then I have created new directory (anim). In anim directory I have created accelerate_decelerate.xml layout ...
What Is Browser ?
In the common words, browser is a software application where we can recover, study and show the data on the WWW (World Wide Web).There are several types of browsers available in the market like Internet Explorer (IE), FireFox...
Nevertheless, you require not fuss/fret on the off chance that you are looking for approaches to enhance your leadership. There are generally acknowledged rules that when studied and connected, are accepted to be useful in enhancing one's lea...
"Underscore.js" a tiny and powerful library with a minified size of 5.7kb. You can download this library from
http://underscorejs.org/underscore-min.js
This library support over hundred of functions which can be very useful in our...
session_start();
It Start new session or resume existing session or the current one based on the session identifier passed via any request like $_get and $_post. When a session start php will call the open and read the session handlers.User can ...
Pop up menu simply show Menu in a pop up window anchored to a View.
It displays the pop up below the anchor view if it finds space otherwise above the anchor view.
If we touch outside of it, then it will dismiss the pop up menu.
First, w...
Cloud computing is defined as the sharing of resources rather than approaching applications by local servers. It is on demand due to advantages of high performance, low cost of services, scalability and availability.
Cloud computing deployment...
Since the starting of mankind each one of us needs and advantages from leadership, whether it's religious, social,family, instructive, overseeing, proficient or business. The actuality is that without leadership there is just no direction or ...
Hi All,
Two Way Binding :- In two way binding, data flows in both direction, from object to UI and vice-versa. For instance, you can have a UITextField called as nameTF which is binded with an object having property nameValue. So when the obj...
In the below layout code I have created a new user Sign Up form page. Here I have created first LinearLayout all layout added in this Main LinearLayout, In below code I have also added ScrollView, Relative layout, ImageView, TextView. In dr...
You are highly proficient and have shown on numerous occasions that you can deliver. That is the reason you are presently in an leadership role. So in what manner would you be able to thrive now that you are a leader?
Concentrate on the end ...
Hi All,
One Way Binding :- In one way bindings, data flows only from object to UI and not vice-versa. For instance, you can have a UITextField called as nameTF which is binded with an object having property nameValue. So when the object value...
What is a ‘CAPTCHA’ ?
‘CAPTCHA’ is the deformed content or words. Generally, this is contest reply testing and this reply must be created by the person or human. These 'CAPTCHA's comes in various forms.
...
php_uname function is used in php for getting information about the operating system ,host name, release name, version information and machine type.This method is used in php for returning a description of the current operating system in which yo...
An immutable object can be defined as an object that will not change state after it is instantiated. An immutable object can be made by defining a class which follows following rules:
The class is to be marked as final.
The memb...
In Angular we are provided with a routing framework named Angular UI-Router. It enables us to make transitions based on states rather than routes URL (which is used in ngRoute),i.e. it is organized around states. It supports nested states and mul...
Smoke Testing: is use to find issues in the early phases of testing and is performed after software build to discover that the critical functionalities of the program is working fine. It is executed “before” any detailed functional or...
State transition testing is used where some aspect of the system can be described is called a ‘finite state machine’. The state transition from one to other is based on the state of machine and depending upon the what happened before ...
There are four types of specification-based software testing technique
Equivalence partitioning
Boundary value analysis
Decision tables testing
State transition testing
Equivalence partitioning a...
AJAX is a topic which comes under PHP AJAX Stands for Asynchronous JavaScript and XML. AJAX is used to update segment of web pages, without refreshing the whole page. By using AJAX we can create dynamic web pages easily and very fa...
addClass() method adds one or many methods or class to the paragraph or the element you are using,This method will not remove the class but it adds another class by using different attributes. Users and also add toggle function to it. It will add...
jQuery.param()
Syntax:
$.param(object,traditional)
object: object parameter in param method is an array, a plain object, or a jQuery object which needs to be serialized.
traditional: This parameter is a boolean indicating...
isset() and empty() are the function of PHP which are used to check whether the variable contains some value or not.
The major difference between them is::
isset() is used when we want to just check whether the variable is set or not. It re...
Image Opacity is a method for creating transparent images. Following are the examples for Image opacity :
Creating a Transparent image.
<!DOCTYPE html>
<html>
<head>
<style>
</style>
</head>...
Equivalence partitioning
Equivalence partitioning is one of the most commonly used specification-based black-box technique. It is a test design technique that can be used in black-box testing as in system testing. The concept of this technique...
In my Phonegap based hybrid app: Ajax calls start failing if my app is inactive for say a couple of minutes. My connection is WiFi & what happens is ajax calls fail with status 0; but navigator.connection.type still shows ...
Most majority people understand ‘entrepreneur’ to signify 'somebody who begins new businesses.’ This is just mostly genuine. If this were the case, according to statistics, 80 % of the greater part of the ‘entrepreneur...
When we login through parse.com so at the time of logout, we need to clear the current user.
We need to simple use method logOut() of parse.
Below is the code
ParseUser.logOut();
ParseUser currentUser = ParseUser.getCurrentUser(); // ...
Here we will learn how to create custom toolbar and use it in different activity using <include> tag in xml file of the activity.
1) We will design the layout for the toolbar in our project's layout directory, I have named it as mtoo...
They say that the capacity to delegate is the true indication of a leader and with this known, it is still amazing how many people mess that part up. Leadership psychologists have regularly attempted to make sense of why leaders fail an...
double (==) : This operator is used for checking equality, no strict comparison is done i.e this operator first converts the values to specific type then comparison is done and this conversion is done by the javascri...
I was working on a huge data, around 10gb, which I needed to import on solr. So I split the data in 1gb files, then I imported the data in solr using the post method.
I ended up getting error:
SEVERE: java.lang.OutOfMemoryError: Java heap s...
I was working with spring 4 integration with hibernate 4 and encountered and error:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ...CustomConfiguration: Invocat...
The old saying, 'You can lead the horse to water however you can't make it drink,' has appropriate significance to the life of the teacher–and the vast majority of us have "educating" parts. We ask people or tell them ...
What Is Breadcrumb ?
Breadcrumb is a canonical or hierarchical sequence of hypertext links appeared on top of the web page or any web site. Breadcrumbs denote the position of the operator or the person inside the website hierarchy.This is a we...
Scanner Class in Java
Scanner is a class contained in java.util package basically used for obtaining the input of the primitive types like int, double,and strings. To read input an object of Scanner class is created and various methods are use...
In order to gain Traffic or to promote app, product or website through Social media activity one should focus on the below mentioned activities:
Marketing Activity Plan
General SMM Activites
...
To identify the right technique for hierarchically getting yourself, one will need to involve the procedure of undertaking various steps of human behavioral achievements. The accomplishment/achievement will get from a commitment of your...
In the below example I have created extend array function. Here first I have define array length then extend new array value. You can see below program it will clearly describe to extend array after initialization by creating an new array.
...
Foreach loop is another loop which was introduced in C++ 11. The advantage of foreach loop over other loops is that, it can access elements of an array quickly without performing initialization, testing and increment/decrement, the code...