Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- import java.util.*;
- public class sajatForraskodKozNelkul {
- public static void main (String [] args){
- try {
- BufferedReader file = new BufferedReader(new FileReader("sajatForraskodKozNelkul.java"));
- for(String line=file.readLine(); line!=null; line=file.readLine()){
- StringTokenizer sor = new StringTokenizer(line, " ");
- while(sor.hasMoreTokens()){
- StringTokenizer ujSor = new StringTokenizer(sor.nextToken(), " ");
- while(ujSor.hasMoreTokens()){
- System.out.print(ujSor.nextToken());
- }
- }
- System.out.println();
- }
- file.close();
- } catch(IOException e){}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment