Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何从扩展类中重写此方法?
protected static <T extends Object> T getObject(ResultSet data){ return null; }
我正在使用 java 7
您不能覆盖 中的静态方法Java,因为Java设计是如此简而言之,无论它们是否通用。请在此处查看详细说明。
Java