An incorrect line

Report a typo

Find two lines in the code that will cause compile errors.

final Scanner scanner = new Scanner(System.in); // 1
final int a;                                    // 2
final int b = scanner.nextInt() + a;            // 3
final int c = 0;                                // 4
c = b;                                          // 5
System.out.println(c + 1);                      // 6

Enter numbers of the found lines in the ascending order like:

1 2
Enter a short text
___

Create a free account to access the full topic