This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
public class GerenciaContato { | |
private ArrayList<Contato> list = new ArrayList<>(); | |
public void adiciona(Contato c) { | |
list.add(c); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Nome: Victo de mattos souza | |
Ra: 20866585 | |
Nome: Wellington José Souza Cordeiro | |
Ra: 20881986 | |
*/ | |
package atividade01; | |
import java.util.Scanner; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Nome: Victo de mattos souza | |
Ra: 20866585 | |
Nome: Wellington José Souza Cordeiro | |
Ra: 20881986 | |
*/ | |
package atividade01; | |
public class ContaBancariaSimplificada { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import random | |
import unittest | |
def gen_age(): | |
# gera numeros inteiros entre 15 e 99 | |
return random.randint(15, 99) | |
class AgeTest(unittest.TestCase): | |
def setUp(self): | |
self.a = gen_age() |
NewerOlder