Naming conventions for java methods that return boolean(No question mark)

前端 未结 7 869
深忆病人
深忆病人 2020-12-02 10:49

I like using question mark at the end of method/function names in other languages. Java doesn\'t let me do this. As a workaround how else can I name boolean returning method

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 11:19

    is is the one I've come across more than any other. Whatever makes sense in the current situation is the best option though.

提交回复
热议问题