Questions tagged as 'operadores'

1
answer

What is the comma for?

The comma is what? Just a construction of language? An operator? Why does it exist? This question is based on what you saw in Returning or extracting more than one value from a function? . return base2, base3, base4     
asked by 06.01.2017 / 12:08
2
answers

LIKE query performance in MySQL

Is there any way to increase the performance of a query with LIKE '%string%' in MySQL? I know that if LIKE is 'string%' , it is faster. The problem is when % is at the beginning of the string. Is there some sort of...
asked by 13.08.2014 / 03:33
3
answers

What is. = in php?

What is .= in PHP? I'm not sure if it's a concatenation or multiplication.     
asked by 17.11.2016 / 14:49
2
answers

Why does not Java add the numbers into expression? [duplicate]

public class Teste { public static void main(String[] args) { int x = 0; int y = 1; int z = 2; System.out.print(x + y + z); } } This returns: 3 public class Teste { public static void main(String[] a...
asked by 20.04.2018 / 19:20
2
answers

"Operator" brackets [] in creating the arrangement in C

Whenever I look for what the brackets operator [] does, even in the tables that show all operators in C, it appears that it serves to access an element of an array. However, this is not always the case, for example in the case where the a...
asked by 12.09.2018 / 16:20
4
answers

What is the function of the "| "Inside the catch?

I read that || (OR) is for boolean operations and | (Bitwise operation) for bit operations. What is its function inside a catch with multiple exceptions , then? I mean, I know it eliminates duplicate code but I've always considere...
asked by 22.04.2015 / 20:15
1
answer

Token identical "==" is used only in PHP? Because?

During my studies in C language and Java, I have always come across the sign "=" of assignment and the "==" sign being equality . However, I'm studying PHP now and I came across the sign "===" of identical . My ques...
asked by 27.02.2017 / 16:12
1
answer

What benefits of using the = operator in common methods that are not related to Lists or Lambda Expression?

I asked the following question: # and the user @bigown answered me, however, in the answer he used an operator and this gave me a new question. I questioned the same about the use of the operator and he indicated to me the following link for cla...
asked by 23.05.2017 / 23:41
1
answer

Operator "and" for assignment in classes

Looking at some repositories of GitHub I found this repository for generation of tickets with php and within the class Cedente caught my attention the use of the word and within the function construct in this file . Th...
asked by 05.05.2017 / 19:02
1
answer

What is explicit in C ++?

I came across the term explicit being used in a C ++ code. How useful is this keyword?     
asked by 02.05.2016 / 13:17