Saturday, October 29, 2011

list in java

List is present in java.util .It is an interface.List can implement vector.

virtual function

In Java a function can be made virtual by just attaching the keyword virtual to implement polymorphism.Eg:- class any { int a; float b; virtual void show() { System.out.println("a="+a+"\n b="+b); } } class many extends any { int a1; float b1; void show() { Syatem.out.println("a="+a+"\n b="+b); } public static void main() { any *ptr; many *ptr1; ptr=&ptr1; ptr->show(); ptr->show(); } }

Monday, October 24, 2011

link list creation

A link list is a way to represent data so that each element points to next element. steps to create a link list. 1.create a structure : struct linkl { char name[20]; int number; linkl *next; }; two data members name and number are created and a self referential pointer next is created.

Wednesday, May 11, 2011

usb

universal serial bus .... establish communication between a device and a PC

dvd

digital versatile disc commonly stores 4.7 GB

ip address

internet protocol address .... is a numerical label to a device attached to network.

Tuesday, September 28, 2010

unicode

Unicode is a computing industry standard for the consistent encoding, representation and handling of text expressed in most of the world's writing systems

ec2-user@ec2 Permission denied