java 重定向

zjhl2 posted @ 2015年12月03日 20:11 with tags java , 837 阅读
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintStream;
import java.util.Scanner;
public class Main {
	public static void main(String[] args)throws FileNotFoundException  
	{
		
		FileInputStream fis = new FileInputStream("input.txt");
		System.setIn(fis);
		
		PrintStream ps = new PrintStream(new FileOutputStream("output.txt"));
		System.setOut(ps);
		
		Scanner cin=new Scanner(System.in);
		int n;
		
		while(cin.hasNext())
		{
			n=cin.nextInt();
			System.out.println(n);
		}
	}

}
Avatar_small
Bank of India net ba 说:
2022年8月01日 21:31

Do you have an account in Bank of India, If yes, then you might be happy because of the features and services of BOI which they provide to their customers. BOI allow their customers to register for Internet banking online with new requirements?With this, Bank of India net banking services, customer of BOI can access the complete banking services in online to transfer the funds, Bank of India net banking generate statements, personalized view of account or more. After registration, you can reset BOI login password online if required too. These are some basic points that need to check before going for online registration of Bank of India internet banking facility, which we are going to discuss below from BOI history.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter