Originally posted by nilesh purohit: Can you please clarify the meaning of the following line of code boolean setFlag(Boolean  test ); assume test is some class.Nothing was mentioned in the book.
As it's written, the only way I can see this working is inside an interface, as an implicitly abstract method declaration where "test" denotes a 2-dimensional Boolean array.
But if we are to assume that "test" is some class, then we need a comma between these arguments. In that case, the line is close to working as a method call with an added assignment ("b ="), or simply a method call (without "boolean"). That is...
boolean b = setFlag(Boolean, test);
Where did this come from? And what is the context?
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer sscce.org