Update: feeling adventurous? Clone or fork the xkcd clock! If you just want to see it in action or get a glimpse of how it works, keep reading.
The date in [xkcd's comic number 1340][1] [does not change][2].
package funcoes; | |
public class PoemaDecorado1 | |
{ | |
public static void main(String args[]) | |
{ | |
System.out.println("Minha terra tem palmeiras"); | |
System.out.println("========================="); | |
System.out.println("Onde canta o sabiá"); |
package funcoes; | |
public class PoemaDecorado2 | |
{ | |
public static void imprimeDecoracao() | |
{ | |
System.out.println("========================="); | |
} | |
package funcoes; | |
public class PoemaDecorado3 | |
{ | |
public static void imprimeDecoracao() | |
{ | |
System.out.println("========================="); | |
} |
package funcoes; | |
import javax.swing.JOptionPane; | |
public class Funcoes { | |
public static void imprimeResultado(String nomeOp, double res) | |
{ | |
JOptionPane.showMessageDialog(null, | |
"O resultado da " + nomeOp + " é: " + res); | |
} |
Update: feeling adventurous? Clone or fork the xkcd clock! If you just want to see it in action or get a glimpse of how it works, keep reading.
The date in [xkcd's comic number 1340][1] [does not change][2].