如何创建一个简单的数组列表? [英] How to create a simple array list?

查看:100
本文介绍了如何创建一个简单的数组列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要创建一个同时包含整数和字符串格式的简单数组列表.

感谢所有帮助.

I need to create a simple array list taking both integer and string format.

Thanks for all the help.

推荐答案

您是否尝试过搜索"java数组列表"?

第一个结果告诉您您需要了解什么.
Have you tried googling "java array list"?

The first result tells you what you need to know.


是否可以在没有构造函数和对象传递的情况下使用它?因为我发现所有人都使用了一个以上的类.
is it possible to use it without constructors and object passing? cause what i''ve found all use more than one class with it..


这篇关于如何创建一个简单的数组列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆