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
| /build |
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
| .cubo{ | |
| border: .2em solid black; | |
| display: inline-block; | |
| } | |
| .face{ | |
| border-bottom: .2em solid black; | |
| padding: .2em; | |
| } |
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
| div { | |
| width: 100px; | |
| height: 100px; | |
| /* Para deixar o texto centralizado na div, | |
| podemos colocar um line-height igual à altura | |
| dela. Só funciona bem se o texto tiver uma | |
| linha só. | |
| */ | |
| line-height: 100px; | |
| text-align: center; |
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
| package metodoscommatriz; | |
| import java.util.Scanner; | |
| public class MetodosComMatriz { | |
| public static void main(String[] args) { | |
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 RoboSimples { | |
| private char direcao; | |
| public RoboSimples(char direcao){ | |
| //this.direcao = direcao; | |
| this.setDireção(direcao); | |
| } |
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
| package apptimer; | |
| public class AppTimer { | |
| public static void main(String[] args) { | |
| RoboSimples direcao = new RoboSimples('o'); | |
| System.out.println(direcao.getDirecao()); |
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
| package apptimer; | |
| public class Time { | |
| int hora; | |
| int minuto; | |
| int segundo; | |
| public Time(int hora, int minuto, int segundo){ |
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
| package apptimer; | |
| public class AppTimer { | |
| public static void main(String[] args) { | |
| Time hora = new Time(23,30,20); |