在LeetCode中使用我们自定义的类

在上一节中我们使用的是java提供了的类,这一小节中我们就来学习一下如何在LeetCode中使用我们自定义的类。

其实很简单,我们只需把我们编写的自定义类,拷贝到LeetCode提供的类中,形成类中类,这样LeetCode就好自动调用我们编写的类啦。

猜你喜欢

转载自www.cnblogs.com/wfaceboss/p/10626735.html