Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Hada extends Duende {
- public static void main(String[] args) {
- int monedas = 7;
- System.out.printl(sumar(monedas,6));
- }
- }
- class Duende {
- int sumar(int a, int b) { return a + b; }
- }
Add Comment
Please, Sign In to add comment