-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
24 lines (16 loc) · 760 Bytes
/
Main.java
File metadata and controls
24 lines (16 loc) · 760 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.company;
public class Main {
public static void main(String[] args) {
CadastrarFilmes cf1 = new CadastrarFilmes("O senhor do amanha", 12, "Suspense",90, 2, 22);
CadastrarFilmes cf2 = new CadastrarFilmes("O Preço do amanha", 14, "Ação",85, 1, 30);
CadastrarFilmes cf3 = new CadastrarFilmes("Procurando Dori", 4, "Comedia",120, 5, 31);
CadastrarFilmes cf4 = new CadastrarFilmes("As cronicas de narnia", 10, "Comedia",130, 6, 27);
ProgramacaoSemanal Ps= new ProgramacaoSemanal(3,03,4);
Ps.getFilmes().add(cf1);
Ps.getFilmes().add(cf2);
Ps.getFilmes().add(cf3);
Ps.getFilmes().add(cf4);
System.out.println();
System.out.println(Ps);
}
}