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.
I want to say it's C. Animations.
I hope this helps!
Answer:
Its an option that will usually pop-up from brainly after 2 people answer or sometimes it just pops up for one.
For fun could you mark me as brainiest?
It would help my account :)
Thank you!
itemCost = input("Enter cost of items: ")
totalCost = 15 * float(itemCost)
print(totalCost)
The first line gets the total cost of the item from the user. The second line calculates the cost of 15 of those items and stores that value in the variable totalCost. The last line is just to test that our calculation works. I hope this helps!
Answer:
26!
Explanation:
just added theeee numbeeeeers