Commit 338950a4 authored by viniig1709's avatar viniig1709

Operacao *

parent 3132a9ba
public interface Operacao { public interface Operacao {
public double opera(double x, double y); public double opera(double x, double y);
public double OperacaoMult(double x, double y)
{
return x * y;
}
} }
public class OperacaoMultiplicacao implements Operacao {
public double opera(double x, double y){
return (x*y);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment