All Questions

5
answers

Difference between private and final methods

Studying final methods and classes in the book "Programming in Java 6 ed." of Deitel I came across the following proposition:    The methods declared private are implicitly final, because it is impossible to overwrite them in a subclass (alt...
asked on 30.11.2015 / 12:22
0
answers

What is the difference between trainee, junior, full, senior? [closed]

What functions can and can theoretically exert? Is it determined by time or experience? What can happen when a task at the "Senior" level is assigned to someone who does not have such knowledge, is it unethical to do this?     
asked on 05.03.2014 / 15:50
3
answers

Why is it wrong / bad to repeat an HTML ID?

I think the title says it all, why is it wrong to repeat HTML IDs? I notice lots of people doing things like: <div id="foo">bar</div> <div id="foo">baz</div> To apply CSS and understand the problems that this caus...
asked on 27.07.2018 / 17:10
1
answer

Error executing container (Docker) with browser-sync

I get this warning when giving start on my container with browser-sync : [BS] Watching files... (node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Exited with code 3 Any ideas?     
asked on 10.10.2016 / 18:43
6
answers

Do not use "{}" keys in IF in PHP can generate problems?

Generally for checks that modify only one line I have avoided the use of keys, since PHP accepts this method, but I rarely see codes from other programmers like this ... Examples My method if($thumb->SaveInDB('imagens','img')) $ok =...
asked on 11.07.2014 / 19:34
1
answer

HTTP Cache Headers in Servlets

I would like to know if there are libraries or solutions to handle requests containing headers such as Last-Modified , If-Modified-Since , If-Range If-None-Match , etc. and produce replies with Cache-Control ,...
asked on 24.12.2013 / 19:34
4
answers

Output a C code with pointers

I need to understand what each of the values printed on the screen means by the following code: #include<stdio.h> int main() { int i=5; int *p; p = &i; printf("%u %d %d %d %d \n", p, *p+2,**&p,3**p,**&p+4); return 0; }...
asked on 20.10.2017 / 12:27
6
answers

Methods to test websites in different browsers?

I would like to know methods for testing websites in different browsers, without the creation of virtual machines.     
asked on 11.02.2014 / 20:46
2
answers

How to reference the current board

As an example, making use of the variable SCRIPT_FILENAME we can get the requested file , but for this problem what is wanted is to get the directory where the file .htaccess is located: # Rewrite the url <IfModule mod_rewri...
asked on 03.12.2014 / 21:22
3
answers

Add days to a date

I need to add another 2 days on a date from a variable. I'm doing it this way but it's not working. $data = '17/11/2014'; echo date($data, strtotime("+2 days"));     
asked on 17.11.2014 / 14:38