Skip to main content

Posts

C Programming

C Programming: ----------------- C is a general purpose programming language founded by Dennis Ritche in 1972 at Bell labs. Language: ------- Langue is a vocabulary and set of  gamer rules to community human in the world. 1)Learn alphabets(a-z) 2)Form words(i,we,he she,they ,the ete) 3)Form sentence by set of gramer rules. 4)Paragraph. ex: I go to office everyday at 10 am. Programming language: Programming language is a vocabulary and set of gramer rules to instruct the computer to perform various task. 1)learn alphabets,numbers,special symbols(a-z,0-9,@,$,^) 2)int a,b,c; 3)c=a+b; 4)program c can be defines as follows: 1.mother language.  Most of the compilers,JVM's and kernels are written in c.  Most of the languages follow c syntax. 2.Procedure oriented language.  A procedure is know as function,methods,routine or sub routine.A procedure language specifies a series of steps for the program to perform tasks. 3.Structured language. Struc...
Recent posts

Java Collections

Collections in Java The Collection framework represents a unified architecture for storing and manipulating a group of objects. It has: Interfaces and classes. Algorithm. Hierarchy of Collection Framework The  java.util  package contains all the classes and interfaces for the Collection framework. Iterable Interface The Iterable interface is the root interface for all the collection classes. It contains only one abstract method. i.e., Iterator<T> iterator()   It returns the iterator over the elements of type T. Collection Interface The Collection interface is the interface which is implemented by all the classes in the collection framework. It declares the methods that every collection will have.  Methods of Collection interface There are many methods declared in the Collection interface. They are as follows: No. Method Description 1 public boolean add(E e) It is used to insert an element ...