79190713

Date: 2024-11-14 23:32:24
Score: 1
Natty:
Report link

I understand about classes, objects, this keyword, constructors, and instantiation. That's the reason I'm asking the question.

Without an object, this expression:

ERROR = setParamForNamedCallableStatement(lstSqlParams, inputDataMap, daoInputMapDef, ncs){};
            

Should fail to compile, but it doesn't. It's not a static method. This is a Struts 2 project.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: johnmusk