My understanding so far in Java has been that operators such things:
+,-,*,/,%,<,<=,== etc.
And keywords / reserved words are things like:
boolean,char,int,do,float,double,new etc.
However, looking through the Java book and online tutorial, I see what newis called an operator? But how, I thought, were operators specifically tied to arithmetic types? which, as I see it, is only 28. Why is the keyword newalso referred to as an operator?
thanks
source
share