Answer:
public class DominantCheck
{
public static Boolean dominant (int first, int second, int third)
{
if(first>(second+third))
return true;
else if (third>(first+second))
return true;
else
return false
}
public static void main (String []args)
{
boolean ans=dominant(4,9,2);
//Output display
system.out.println(ans);
}
}