Archive: December, 2016

Files and i/o in java

December 23, 2016 by Manisha Ambekar

Filed under java

Last modified December 23, 2016

The java.io package contains nearly every class you might ever need to perform input and output (I/O) in Java. All these streams represent an input source and an output destination. The stream in the java.io package supports many data such as primitives, object, localized characters, etc. Stream A stream can be defined as a sequence of data. There are two kinds of Streams − • …

Java interface

December 20, 2016 by Manisha Ambekar

Filed under java

Last modified December 20, 2016

An interface is a reference type in Java. It is similar to class. It is a collection of abstract methods. A class implements an interface, thereby inheriting the abstract methods of the interface. Along with abstract methods, an interface may also contain constants, default methods, static methods, and nested types. Method bodies exist only for default methods and static methods. Writing an interface is similar …

Polymorphism in Java

December 20, 2016 by Manisha Ambekar

Filed under java

Last modified December 20, 2016

Polymorphism in java is a concept by which we can perform a single action by different ways. Polymorphism is derived from 2 greek words: poly and morphs. The word “poly” means many and “morphs” means forms. So polymorphism means many forms. There are two types of polymorphism in java: compile time polymorphism and runtime polymorphism. We can perform polymorphism in java by method overloading and …

Android Application Components

December 16, 2016 by pranjal

Filed under Android

Last modified December 16, 2016

Application components are the essential building blocks of an Android application. These components are loosely coupled by the application manifest file AndroidManifest.xml that describes each component of the application and how they interact. There are following four main components that can be used within an Android application − 1.Activities:They dictate the UI and handle the user interaction to the smart phone screen.An activity represents a …

BGP – iBGP and eBGP configuration

December 14, 2016 by Neel Rao

Filed under Network

Last modified December 14, 2016

If an Autonomous System has multiple BGP speakers, it could be used as a transit service for other ASs. As you see below, AS200 is a transit autonomous system for AS100 and AS300. It is necessary to ensure reachability for networks within an AS before sending the information to other external ASs. This is done by a combination of Internal BGP peering between routers inside …

Access Control List – ACL

December 12, 2016 by Neel Rao

Filed under Network

Last modified December 12, 2016

Cisco Access Control Lists are the set of conditions grouped together by name or number. These conditions are used in filtering the traffic passing from router. Through these conditions we can filter the traffic; either when it enters in router or when it exits from router. In this tutorial I will explain Cisco Access Control Lists in detail with examples. What is access control list? …

What is Python

December 9, 2016 by pranjal

Filed under Uncategorized

Last modified December 9, 2016

Introduction: •Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. It was created by Guido van Rossum during 1985- 1990. •Python is Interpreted: Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP. •Python is Interactive: You can actually sit at a Python prompt and interact with …

PHP Loop Types

December 8, 2016 by pranjal

Filed under php

Last modified December 8, 2016

Loops in PHP are used to execute the same block of code a specified number of times. PHP supports following four loop types. •for − loops through a block of code a specified number of times. •while − loops through a block of code if and as long as a specified condition is true. •do…while − loops through a block of code once, and then …

PHP Arrays

December 8, 2016 by pranjal

Filed under php

Last modified December 8, 2016

An array is a data structure that stores one or more similar type of values in a single value. For example if you want to store 100 numbers then instead of defining 100 variables its easy to define an array of 100 length. There are three different kind of arrays and each array value is accessed using an ID c which is called array index. …