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.
我需要帮助尝试将数组列表转换为数组。我在这样做时遇到了麻烦,如果有人能告诉我在哪里实现 (.toarray) 段代码。
public class BFFHelper { ArrayList<BestFriends> myBFFs; Scanner keyboard = new Scanner(System.in); public BFFHelper() { myBFFs = new ArrayList<BestFriends>(); }