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.
ExamPeekableQueueImpl编译程序时出现错误。它向我显示了界面预期的错误并且找不到符号ExamPeekableQueue。请帮我解决这些问题
ExamPeekableQueueImpl
ExamPeekableQueue
如果它们在不同的包中,请确保将您的接口导入到类中。
您的实现类ExamPeekableQueueImpl找不到接口ExamPeekableQueue。如果接口在另一个包中,则需要将其导入ExamPeekableQueueImpl.