i can't understand that's verifying methods
package com.codegym.task.task04.task0419;
/*
Maximum of four numbers
*/
import java.io.*;
public class Solution {
public static void main(String[] args) throws Exception {
//write your code here
InputStreamReader input = new InputStreamReader(System.in);
BufferedReader reader = new BufferedReader(input);
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 e;
// if method started here
if((a>b) && (a>c) && (a>d))
{
System.out.println(a);
}
if ((b>a) && (b>c) && (b>d)) {
System.out.println(b);
}
else if ((c>a) && (c>b) && (c>d)) {
System.out.println(c);
}
else if ((d>a) && (d>b) && (d>c)) {
System.out.println(d);
}
else if((a == b) && (b == c) && (c == d)) {
System.out.println(d);
}
// end of the method
}
}