Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TestAula {
- public static void main(String[] args) {
- try {
- DaoAula.crearAula("dam2", 10);
- }catch (Exception e){
- System.out.println("El aula dam2 ya existe o no se pudo crear");
- }
- try{
- DaoAula.crearAula("dam1", 15);
- }catch(Exception e){
- System.out.println("El aula dam1 ya existe o no se pudo crear");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement