We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Java
- Introduction
- Java Stdin and Stdout I
- Discussions
Java Stdin and Stdout I
Java Stdin and Stdout I
Sort by
recency
|
500 Discussions
|
Please Login in order to post a comment
import java.util.Scanner;
public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in);
}
when i try to get input as string using scanner class i get only first word in a sentence of the input string
very good
public class input {
}
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader;
public class Solution {
}