The "+" operator is an arithmetic operator commonly used for addition. However, it also serves as the concatenation operator for combining strings together.
Arithmetic operators: Mathematical symbols used to perform calculations, such as addition, subtraction, multiplication, and division.
Comparison operators: Symbols used to compare values and determine their relationship (e.g., greater than, less than).
Logical operators: Symbols used to combine or manipulate boolean values (e.g., AND, OR).
AP Computer Science Principles
AP Computer Science A - 2.6 String Objects: Concatenation, Literals, and More
Study guides for the entire semester
200k practice questions
Glossary of 50k key terms - memorize important vocab
About Fiveable
Blog
Careers
Code of Conduct
Terms of Use
Privacy Policy
CCPA Privacy Policy
Cram Mode
AP Score Calculators
Study Guides
Practice Quizzes
Glossary
Cram Events
Merch Shop
Crisis Text Line
Help Center
About Fiveable
Blog
Careers
Code of Conduct
Terms of Use
Privacy Policy
CCPA Privacy Policy
Cram Mode
AP Score Calculators
Study Guides
Practice Quizzes
Glossary
Cram Events
Merch Shop
Crisis Text Line
Help Center
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.