The method name for the basic payment is given below, follow the codes carefully as they are case-sensitive.
{
double extra;
if(basic>=5000)
extra=basic × hour × 0.3;
else if (point>=2500)
extra=basic × hour × 0.4;
else
extra=basic × hour × 0.5;
return extra;
}
Check out the link below to learn more about method name;
https://brainly.com/question/15681451
#SPJ4