1、右击项目名称->Run As->Java Application,弹出“Selection does not contain a main type”提示框。
3、EqualsTest.java程序具体内容如图所示。