This file contains hidden or 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
| public class Consumer extends Thread { | |
| private CubbyHole cubbyhole; | |
| private int number; | |
| public Consumer(CubbyHole c, int number) { | |
| cubbyhole = c; | |
| this.number = number; | |
| } | |
| public void run() { |
This file contains hidden or 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
| -- Cidade | |
| CREATE TABLE cidade( | |
| codigo NUMBER PRIMARY KEY NOT NULL, | |
| nome VARCHAR2(45) NOT NULL, | |
| estado VARCHAR2(2) NOT NULL | |
| ); | |
| --Aluno | |
| CREATE TABLE aluno( | |
| matricula NUMBER PRIMARY KEY NOT NULL, | |
| cpf VARCHAR2(11) NOT NULL, |
NewerOlder