Answer: In java the symbol "+" operator is used to perform string concatenation.
Explanation:
String concatenation refers to joining of two strings. So in java + is used to join strings which works provided one of the operands must be a String variable. Then it works by converting the other variable to String variable and joins the second operand to the end of the first operand.
An example of String concatenation is as follows:
int age = 10;
System.out.println("The boys age is " + age);
Output:
The boys age is 10.
here, the age is integer variable but as the phrase "The boys age is" is a String variable so it converts the age to String variable and joins both the Strings.
Answer:
Data type is an attribute of the data in the computer science. It basically guide the compiler and interpreter about the data utilization in the program. Data type basically define the operation, which can be done on given data.
There are different types of data types are as follow:
Integer data type: This type if data type basically represent the integer type of data value from largest to smallest order.
For example: int p = 10;
Real data type: This type of data type is used to represent the real type of number from largest to smallest range.
For example: float b = 17.6;
Set them up from least to greatest or create a number graph with all the data.
Answer:
if that is a tutorial, than just hit submit, the teacher doesn't see it.
Explanation:
i do online schooling on the same website