Category: SCJP- Operators And Assignments

New Operator

New Operator New operator can be used for the creation of Object. Note:-  There is no delete operator in java, Destruction of useless Objects will take care by Garbage Collector. NarayanaswamyHello! I am Narayanaswamy founder and admin of narayanatutorial.com. I have been working in the IT industry for more than 12 years. NarayanaTutorial is my […]

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 […]