All Questions

2
answers

If I call a JavaScript file, is this code visible in the browser?

I know that when I write code directly in HTML pages JavaScript is shown but what if I just call the file, for example, <script src="script.js"></script> Will the code be shown?     
asked on 06.10.2015 / 17:52
3
answers

How to subtract a date from the current system date

I want to subtract the current date from the system with the date that is written to mysql. I would like to insert the date in mysql through INSERT, manually, because I will not always use the current date to insert into the system. I need to...
asked on 19.11.2015 / 03:24
3
answers

Factorial not being calculated

   Make a program to read an array A of the vector type with 15 elements. Construct a matrix B of   same type, each element of matrix B being the factorial of the corresponding element of matrix A.   Display the matrices A and B. I tried to...
asked on 24.09.2015 / 16:27
2
answers

How to put & raquo e & laquo no :: before?

I need to put a &raquo and a &laquo in the :before attribute of a given element. How do I do this in CSS? ul.breadcumb > li:after{ content: '&raquo'; /** Isso aqui não funciona **/ }     
asked on 24.09.2015 / 18:41
3
answers

Can you access bash on Android?

I'm not a Linux expert. But if Android uses the Linux Kernel, it is understood that it must have some similarities. Would the terminal be one of them?     
asked on 25.09.2015 / 15:51
3
answers

How to solve the problem "The main method was not found" in a class in Java?

I created this ArrayList and at the time of execution the following message appears:    Error: The main method was not found in class   DeclarationArray.Declaracao_Array; set the parent method as:   public static void main (String [] args)...
asked on 29.09.2015 / 15:44
1
answer

How do you handle submitting a form only once?

In a Method POST form, when I click the button twice it quickly executes the submission twice. Solutions with javascript or with the spring framework.     
asked on 14.09.2015 / 16:24
4
answers

Use of setters in the constructor

I would like to know if there are any semantically speaking differences between these two constructors: public Aluno(String n, float n1, float n2) { this.nome = n; this.setNota1(n1); this.setNota2(n2); } and public Aluno(String n...
asked on 02.11.2015 / 03:20
3
answers

Why is the result of the textbox disappearing after the click?

I'm studying Javascript for a YouTube videotape I did the same video, but when I click on Calculate the result appears and already disappears in less than 1 second, when in fact it should stay in the field text. Below is the html and js. No...
asked on 11.10.2015 / 20:14
3
answers

Rename batch files using Windows Power Shell

How to rename all files in a folder whose name is an (integer) number followed by a certain extension (my choice) using the Windows Power Shell ?    Example: The folder as is: 1.txt 2.txt 7.txt arquivo.html    How to stay after renamin...
asked on 05.11.2015 / 18:39