Posts by lcsmarlon • 1 point
3 posts
-
0
votes2
answers773
viewsA: using java class from another directory
By the terminal, in the directory where the file was Funcionario.java I gave the following command: $javac -cp . Funcionario.java -d /home/lcs/Documentos/java/exercicio4/ The above command…
-
-2
votes2
answers773
viewsQ: using java class from another directory
Well friends, I was using two classes: Funcionario.java (Class 1, from the directory /home/lcs/Documentos/java/exercicio3) and UtilizandoFuncionario.java (Class 2, from the directory…
-
-4
votes4
answers2204
viewsA: How to check if a Localdate is a weekend?
I got it this way... import java.util.*; public class Data{ public static void main(String[] args) { //Instanciando a classe Calendar juntamente com a classe GregorianCalendar Calendar data = new…