Operators and Assignments Part-5
Operators in Java Mainly the categorization of operators can be in the following types: new Operator In java we use this operator to create an object. This object can be of class or even array. So by using new operator,compiler performs memory allocation to the variable. Unlike other languages, this memory allocation is deallocated automatically by Garbage …