Financial and Management
-
Upload
sushant-kumar -
Category
Documents
-
view
212 -
download
0
description
Transcript of Financial and Management
prefetchThis chapter presents key concepts of intercommunication between programs running on di?erent computers in the network. It introduces elements of network programming and concepts involved in creating network applications using sockets. The chapter introduces the java.net package containing various classes re-quired for creating sockets and message communimport java.util.*;import java.io.*;class CRC{public static void main(String args[]){int i,j,ne,t=0,m=0;int a[]=new int[20];int b[]=new int[20];int c[]=new int[20];int x[]=new int[20];int divisor[]=new int[20];Scanner s=new Scanner(System.in);System.out.println("Sender data");System.out.println("enter length of data");int n=s.nextInt();System.out.println("enter data bits(0 & 1)");for(i=0;i