Question: what is the use of + in java
Answer: Class member selection + + -- Postfix increment and decrement + + -- Prefix increment and decrement Right - to - left + - Unary plus and minus ! ~ Logical NOT and bitwise NOT ( type ) val Type cast new Class instance or array creation * / % Multiplication , division , and modulus ( remainder ) Left - to - right 5 + - Addition and subtraction + String concatenation 6 < < > > > > > Bitwise left shift , signed right shift and unsigned right shift 7 < < = Relational `` less than '' and `` less than or equal to '' > > = Relational `` greater than '' and `` greater than or equal to '' instanceof Type comparison 8 = = ! = Relational `` equal to