I have seen this code:
Integer statusCode = (Integer)
Strange, this is first time I see this syntax. Can anyone explain this?
Why there is no semicolon at the end of the line?
What does it mean if you put a Type or Class in parentheses?
What is it's benefit to use it like that?
Edit: Some answers mentioned that either the code is incomplete or gives a compile time error but I have tried it it works! Actual code is from this page:https://www.tutorialspoint.com/servlets/servlets-exception-handling.htm