Category: SCJP- Operators And Assignments

Assignment Operator

Assignments The following is the list of all possible compound assignment operator. + =            & =                  % = – =             | =                 >>> = * =            ^ =                << = / =            >> = In the case of compound assignment operator, the required type casting is performed automatically by the compiler. byte b = 20 […]

Types Cast Operator

Type Cast Operator There are two types of primitive type castings a possible. implicit type casting explicit type casting Implicit Type Casting Compiler is responsible for this type casting. performed automatically where ever we are assigning smaller value to the bigger data type It is also known as Widening  or up casting There is no […]