'\\(backslash'\'(single quote'\"(double quotestring lierala string literal is sequence of characters enclosed in double quotesfor examplethe following is string literal"dogs cannot climb treesoperators java expressions involve composing literals and variables with operators we survey the operators in java in this section the assignment operator the standard assignment operator in java is "=it is used to assign value to an instance variable or local variable its syntax is as followsvariable expression where variable refers to variable that is allowed to be referenced by the statement block containing this expression the value of an assignment operation is the value of the expression that was assigned thusif and are both declared as type intit is correct to have an assignment statement like the followingi ;/works because '=operators are evaluated right-to-left arithmetic operators the following are binary arithmetic operators in javaaddition subtraction multiplication division