Sunday, 16 November 2014

u get what u give by java programing

import java.io.*;
public class avisu {
    public static void main(String args[]){
        byte[] data = new byte[40];
        try{
            System.in.read(data);
        }
        catch(IOException e){
            System.out.println("no info");
        }
        String s = new String(data);
        System.out.println(s);
    }  

}

No comments:

Post a Comment