Four Stars

java error in windows 10

does any one know about this error and how to solve it?

private static double volume(String solidom, double alturam, double areaBasem, double raiom) {
double vol;
if (solidom.equalsIgnoreCase("esfera"){
vol=(4.0/3)*Math.pi*Math.pow(raiom,3);
}
else {
if (solidom.equalsIgnoreCase("cilindro") {
vol=Math.pi*Math.pow(raiom,2)*alturam;
}
else {
vol=(1.0/3)*Math.pi*Math.pow(raiom,2)*alturam;
}
}
return vol;
}

1 REPLY
Moderator

Re: java error in windows 10

Hello,

Are you using talend product? Did you create a custom routine in your job or use custom code components(tjava, tjavarow..)? Could you please give us more information about your current situation?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.