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 End-of-file
- Discussions
Java End-of-file
Java End-of-file
Sort by
recency
|
1140 Discussions
|
Please Login in order to post a comment
Well, that was my soluction:
public class Solution {
}
My Solution is here, if you any have any feedback you can write a comment.
public class Solution {
}
// Here is simple solution with a coutner veriable and using hasNextLine() method. While loop will iterate and give number of iterations a number of lines in input.
import java.io.; import java.util.;
public class Solution {
import java.io.; import java.util.;
public class Solution {
}
import java.io.; import java.util.;
public class Solution {
}