Не понимаю. Почему пишется переменная не проинициализирована
package com.javarush.task.task04.task0419;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Максимум четырех чисел
*/
public class Solution {
public static void main(String[] args) throws Exception {
//напишите тут ваш код
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(reader.readLine());
int b = Integer.parseInt(reader.readLine());
int c = Integer.parseInt(reader.readLine());
int d = Integer.parseInt(reader.readLine());
int max1, max2, max;
if (a > b)
max1 = a;
else max1 = b;
if (c > d)
max2 = c;
else max2 = d;
if (max1 > max2)
max = max1;
else if (max1 == max2)
max = max1 | max2;
else if (max1 < max2)
max = max2;
System.out.println(max);
}
}