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.
我们可以在java中制作这样一个不直接或间接继承Object类的类吗?
你不能。
每个类都继承自Object类,这是 Java 的设计方式。
Object
请参阅文档。