使用eclipse给main方法添加参数

使用myeclipse如何在main函数中添加参数?
点击右键-->run as -->run configurations(open run dialog) -->选择arguments-->输入参数(参数之间用空格分开),如图所示

猜你喜欢

转载自hbiao68.iteye.com/blog/1663146