Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
  *
  * Copyright (c) 2013-2014 sagyf Yang. The Four Group.
  */
 
 package com.github.sog.kit.format;
 
Scanf.
public class Scanf {
    protected static BufferedReader in = new BufferedReader(new InputStreamReader(.));

    
Scans input console and returns entered string.
    public static String scanf() {
        try {
            return .readLine();
        } catch (IOException ioe) {
            return null;
        }
    }
New to GrepCode? Check out our FAQ X