instead of
private BufferedReader in;
public static void main(String[] args) throws IOException {
Main app = new Main();
app.run();
I thought it could go like
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(
new StreamInputRead er(System.in));
int min = 0;
int...
User Profile
Collapse
-
I need some help guys..
I am currently studying java and i came across a question.
The following program has several defects (errors) that will generate compile-time errors, logical errors (unintended behaviour) or run-time errors (forced termination). Identify and correct 5 such defects by rewriting this program and identifying and correcting the errors. You may identify an error (and the fix for it) using a comment directly above the line that was corrected....
No activity results to display
Show More
Leave a comment: