class Conversor5
{
int celsiusParafahrenheit(int c)
{
return 9*c/5+32;
}
int fahrenheitParacelsius(int f)
{
return 5*(f-32)/9;
}
int celsiusParakelvin(int k)
{
return k-273;
int kelvinParacelsius(int c)
{
return c+273;
}
int fahrenheitParakelvin(int f)
{
5*(f-32)/9+273;
}
int kelvinParafahrenheit(int k)
{
return (k-273)/5*9+32;
}
emite a seguinte coisa Conversor5 c5 = new Conversor5();
Error: Invalid Import Declaration
> conversor4 c4 = new conversor4();
Error: Undefined class 'conversor4'
> import conversor4; // auto-import
conversor4 c4 = new conversor4();
ClassNotFoundException: conversor4
> Conversor4 c4 = new Conversor4();
Error: Undefined class 'Conversor4'
> import conversor4; // auto-import
Conversor4 c4 = new Conversor4();
ClassNotFoundException: conversor4
> Conversor4 c4 = new Conversor4();
Error: Undefined class 'Conversor4'
>