Question: import java.io . * ; import java.util. * ; import java.text. * ; import java.math. * ; import java.util.regex. * ; public class DebugCodingQuestion {

import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class DebugCodingQuestion {
static void debug(){
final int MAX_VALUE =10;
System.out.println(MAX_VALUE);
// FIX THE CODE ON LINE 15 and 16 ONLY
MAX_VALUE =20;
System.out.println(MAX_VALUE);
}
/*****DO NOT CHANGE THE CODE BELOW THIS LINE*****/
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int a, b;
a = in.nextInt();
b = in.nextInt();
System.out.println(a);
System.out.println(b);
}
}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!