String tin[] = timeIn.split(":");
String tout[] = timeOut.split(":");

hours += ( Double.parseDouble(tout[0]) - Double.parseDouble(tin[0]) ) >= 9 ? 8 : Double.parseDouble(tout[0]) - Double.parseDouble(tin[0]);

someone tell me what this means?..i dont understand the part " 9 ? 8 : Double.parseDouble(tout[0]) - Double.parseDouble(tin[0]);


currently practicing java.
pls answer me guys..