package ru.osetsky;

public class Max {
	public static void main(String[] args) {
		double first = 1, second =2;
		if (first >=second) {
			return first;
		} else {
			return second;
		}
		
	}
}

package ru.osetsky;

public class Max {
	public int max (int first,int second) {
		if (first >=second) {
			return first;
		} else {
			return second;
		}
		
	}
}

Add change Max